Skip to content

Repository files navigation

@playcode/node-libs-browser

The node core libs for in-browser usage.

Installation

npm run @playcode/node-libs-browser

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 namebrowser implementationmock implementation
assertdefunctzombie/commonjs-assert---
bufferfeross/bufferbuffer.js
child_process------
cluster------
consoleRaynos/console-browserifyconsole.js
constantsjuliangruber/constants-browserify---
cryptocrypto-browserify/crypto-browserify---
dgram------
dns---dns.js
domainbevry/domain-browser---
eventsGozala/events---
fs------
httpjhiesey/stream-http---
httpssubstack/https-browserify---
module------
net---net.js
osCoderPuppy/os-browserify---
pathsubstack/path-browserify---
processshtylman/node-processprocess.js
punycodebestiejs/punycode.js---
querystringmike-spainhower/querystring---
readline------
repl------
streamsubstack/stream-browserify---
string_decoderrvagg/string_decoder---
sysdefunctzombie/node-util---
timersjryans/timers-browserify---
tls---tls.js
ttysubstack/tty-browserifytty.js
urldefunctzombie/node-url---
utildefunctzombie/node-util---
vmsubstack/vm-browserify---
zlibdevongovett/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.

Note

This is a fork of the deprecated package webpack/node-libs-browser.

Maintained by Playcode

This fork is maintained by Playcode, the AI website builder and AI app builder for creating, editing, hosting, and publishing live websites and web apps.

License

MIT

About

The node core libs for in browser usage.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages