├── .babelrc ├── .eslintrc ├── .gitignore ├── .npmignore ├── browser-test ├── dist │ ├── bundle.js │ ├── foo.json │ └── index.html ├── index.js └── main.js ├── package.json ├── readme.md ├── rollup.config.js ├── src ├── es6 │ ├── assert.js │ ├── console.js │ ├── domain.js │ ├── empty.js │ ├── events.js │ ├── http-lib │ │ ├── capability.js │ │ ├── request.js │ │ ├── response.js │ │ └── to-arraybuffer.js │ ├── http.js │ ├── inherits.js │ ├── os.js │ ├── path.js │ ├── punycode.js │ ├── qs.js │ ├── readable-stream │ │ ├── buffer-list.js │ │ ├── duplex.js │ │ ├── passthrough.js │ │ ├── readable.js │ │ ├── transform.js │ │ └── writable.js │ ├── setimmediate.js │ ├── stream.js │ ├── string-decoder.js │ ├── timers.js │ ├── tty.js │ ├── url.js │ ├── util.js │ ├── vm.js │ ├── zlib-lib │ │ ├── LICENSE │ │ ├── adler32.js │ │ ├── binding.js │ │ ├── crc32.js │ │ ├── deflate.js │ │ ├── inffast.js │ │ ├── inflate.js │ │ ├── inftrees.js │ │ ├── messages.js │ │ ├── trees.js │ │ ├── utils.js │ │ └── zstream.js │ └── zlib.js └── index.js └── test ├── examples ├── assert.js ├── constants.js ├── crypto.js ├── domain.js ├── events.js ├── os.js ├── path.js ├── stream.js ├── string-decoder.js ├── url-format.js ├── url-parse.js └── zlib.js └── index.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ "es2015-rollup" ] 3 | } 4 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | .babelrc 3 | -------------------------------------------------------------------------------- /browser-test/dist/bundle.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /browser-test/dist/foo.json: -------------------------------------------------------------------------------- 1 | { 2 | "hello": "world" 3 | } 4 | -------------------------------------------------------------------------------- /browser-test/dist/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/browser-test/dist/index.html -------------------------------------------------------------------------------- /browser-test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/browser-test/index.js -------------------------------------------------------------------------------- /browser-test/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/browser-test/main.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/readme.md -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/rollup.config.js -------------------------------------------------------------------------------- /src/es6/assert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/assert.js -------------------------------------------------------------------------------- /src/es6/console.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/console.js -------------------------------------------------------------------------------- /src/es6/domain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/domain.js -------------------------------------------------------------------------------- /src/es6/empty.js: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /src/es6/events.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/events.js -------------------------------------------------------------------------------- /src/es6/http-lib/capability.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/http-lib/capability.js -------------------------------------------------------------------------------- /src/es6/http-lib/request.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/http-lib/request.js -------------------------------------------------------------------------------- /src/es6/http-lib/response.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/http-lib/response.js -------------------------------------------------------------------------------- /src/es6/http-lib/to-arraybuffer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/http-lib/to-arraybuffer.js -------------------------------------------------------------------------------- /src/es6/http.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/http.js -------------------------------------------------------------------------------- /src/es6/inherits.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/inherits.js -------------------------------------------------------------------------------- /src/es6/os.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/os.js -------------------------------------------------------------------------------- /src/es6/path.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/path.js -------------------------------------------------------------------------------- /src/es6/punycode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/punycode.js -------------------------------------------------------------------------------- /src/es6/qs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/qs.js -------------------------------------------------------------------------------- /src/es6/readable-stream/buffer-list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/readable-stream/buffer-list.js -------------------------------------------------------------------------------- /src/es6/readable-stream/duplex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/readable-stream/duplex.js -------------------------------------------------------------------------------- /src/es6/readable-stream/passthrough.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/readable-stream/passthrough.js -------------------------------------------------------------------------------- /src/es6/readable-stream/readable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/readable-stream/readable.js -------------------------------------------------------------------------------- /src/es6/readable-stream/transform.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/readable-stream/transform.js -------------------------------------------------------------------------------- /src/es6/readable-stream/writable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/readable-stream/writable.js -------------------------------------------------------------------------------- /src/es6/setimmediate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/setimmediate.js -------------------------------------------------------------------------------- /src/es6/stream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/stream.js -------------------------------------------------------------------------------- /src/es6/string-decoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/string-decoder.js -------------------------------------------------------------------------------- /src/es6/timers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/timers.js -------------------------------------------------------------------------------- /src/es6/tty.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/tty.js -------------------------------------------------------------------------------- /src/es6/url.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/url.js -------------------------------------------------------------------------------- /src/es6/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/util.js -------------------------------------------------------------------------------- /src/es6/vm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/vm.js -------------------------------------------------------------------------------- /src/es6/zlib-lib/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/zlib-lib/LICENSE -------------------------------------------------------------------------------- /src/es6/zlib-lib/adler32.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/zlib-lib/adler32.js -------------------------------------------------------------------------------- /src/es6/zlib-lib/binding.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/zlib-lib/binding.js -------------------------------------------------------------------------------- /src/es6/zlib-lib/crc32.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/zlib-lib/crc32.js -------------------------------------------------------------------------------- /src/es6/zlib-lib/deflate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/zlib-lib/deflate.js -------------------------------------------------------------------------------- /src/es6/zlib-lib/inffast.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/zlib-lib/inffast.js -------------------------------------------------------------------------------- /src/es6/zlib-lib/inflate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/zlib-lib/inflate.js -------------------------------------------------------------------------------- /src/es6/zlib-lib/inftrees.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/zlib-lib/inftrees.js -------------------------------------------------------------------------------- /src/es6/zlib-lib/messages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/zlib-lib/messages.js -------------------------------------------------------------------------------- /src/es6/zlib-lib/trees.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/zlib-lib/trees.js -------------------------------------------------------------------------------- /src/es6/zlib-lib/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/zlib-lib/utils.js -------------------------------------------------------------------------------- /src/es6/zlib-lib/zstream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/zlib-lib/zstream.js -------------------------------------------------------------------------------- /src/es6/zlib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/es6/zlib.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/src/index.js -------------------------------------------------------------------------------- /test/examples/assert.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/test/examples/assert.js -------------------------------------------------------------------------------- /test/examples/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/test/examples/constants.js -------------------------------------------------------------------------------- /test/examples/crypto.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/test/examples/crypto.js -------------------------------------------------------------------------------- /test/examples/domain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/test/examples/domain.js -------------------------------------------------------------------------------- /test/examples/events.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/test/examples/events.js -------------------------------------------------------------------------------- /test/examples/os.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/test/examples/os.js -------------------------------------------------------------------------------- /test/examples/path.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/test/examples/path.js -------------------------------------------------------------------------------- /test/examples/stream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/test/examples/stream.js -------------------------------------------------------------------------------- /test/examples/string-decoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/test/examples/string-decoder.js -------------------------------------------------------------------------------- /test/examples/url-format.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/test/examples/url-format.js -------------------------------------------------------------------------------- /test/examples/url-parse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/test/examples/url-parse.js -------------------------------------------------------------------------------- /test/examples/zlib.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/test/examples/zlib.js -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/calvinmetcalf/rollup-plugin-node-builtins/HEAD/test/index.js --------------------------------------------------------------------------------