Skip to content
[DEPRECATED] The node core libs for in browser usage.
JavaScript
Branch: master
Clone or download

Latest commit

Latest commit 214057f Jun 12, 2019

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mock Accept arguments to process.nextTick(fn, ...args), just like Node.js'… Oct 17, 2018
.gitattributes Initial commit Feb 25, 2013
.gitignore use browserify versions Mar 18, 2014
LICENSE Add MIT License file Nov 4, 2016
README.md add deprecation note Jun 12, 2019
index.js feat(libs): replace `http-browserify` with `stream-http`. Aug 16, 2016
package-lock.json 2.2.1 Jun 12, 2019
package.json 2.2.1 Jun 12, 2019

README.md

node-libs-browser

The node core libs for in-browser usage.

NOTE: This library is deprecated and won't accept Pull Requests that include Breaking Changes or new Features. Only bugfixes are accepted.

dependencies status

Exports a hash [object] of absolute paths to each lib, keyed by lib names. Modules without browser replacements are null.

Some modules have mocks in the mock directory. These are replacements with minimal functionality.

lib name browser implementation mock implementation
assert defunctzombie/commonjs-assert ---
buffer feross/buffer buffer.js
child_process --- ---
cluster --- ---
console Raynos/console-browserify console.js
constants juliangruber/constants-browserify ---
crypto crypto-browserify/crypto-browserify ---
dgram --- ---
dns --- dns.js
domain bevry/domain-browser ---
events Gozala/events ---
fs --- ---
http jhiesey/stream-http ---
https substack/https-browserify ---
module --- ---
net --- net.js
os CoderPuppy/os-browserify ---
path substack/path-browserify ---
process shtylman/node-process process.js
punycode bestiejs/punycode.js ---
querystring mike-spainhower/querystring ---
readline --- ---
repl --- ---
stream substack/stream-browserify ---
string_decoder rvagg/string_decoder ---
sys defunctzombie/node-util ---
timers jryans/timers-browserify ---
tls --- tls.js
tty substack/tty-browserify tty.js
url defunctzombie/node-url ---
util defunctzombie/node-util ---
vm substack/vm-browserify ---
zlib devongovett/browserify-zlib ---

Outdated versions

buffer

The current buffer implementation uses feross/buffer@4.x because feross/buffer@5.x relies on typed arrays. This will be dropped as soon as IE9 is not a typical browser target anymore.

punycode

The current punycode implementation uses bestiejs/punycode.js@1.x because bestiejs/punycode.js@2.x requires modern JS engines that understand const and let. It will be removed someday since it has already been deprecated from the node API.

License

MIT

You can’t perform that action at this time.