node-libs-browser
Last updated
Last updated
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.
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 |
---|---|---|
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.
MIT
assert
---
buffer
child_process
---
---
cluster
---
---
console
constants
---
crypto
---
dgram
---
---
dns
---
domain
---
events
---
fs
---
---
http
---
https
---
module
---
---
net
---
os
---
path
---
process
punycode
---
querystring
---
readline
---
---
repl
---
---
stream
---
string_decoder
---
sys
---
timers
---
tls
---
tty
url
---
util
---
vm
---
zlib
---