Gathering detailed insights and metrics for browser-builtins
Gathering detailed insights and metrics for browser-builtins
Gathering detailed insights and metrics for browser-builtins
Gathering detailed insights and metrics for browser-builtins
builtins
List of node.js builtin modules
@jspm/core
This package contains the core libraries used in jspm 2.
@babel/plugin-transform-runtime
Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals
rollup-plugin-node-builtins
use node builtins in browser with rollup
npm install browser-builtins
49.4
Supply Chain
92.9
Quality
74.1
Maintenance
50
Vulnerability
97.9
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
62 Stars
145 Commits
30 Forks
8 Watching
2 Branches
19 Contributors
Updated on 28 Aug 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
12.4%
136
Compared to previous day
Last week
-50.3%
1,213
Compared to previous week
Last month
87.9%
9,061
Compared to previous month
Last year
52.2%
40,766
Compared to previous year
This is used by browserify
module. Initially these files were in node-browser-resolve
but disappeared in v1.0.1
which broke browserify
dependency. This module is that missing dependency.
This decision behind not supporting legacy browsers was made to reduce the maintenance and allow usage of more advanced browser features such as TypedArrays. Please do not supply pull requests there adds support for legacy browsers. Instead we recommend that you use the necessary polyfills for legacy browser support. Should you be willing to start your own complete browser-builtins polyfills project, then feel free to contact us for tips and hints.
Requireing this module gives you a simple map between the modulename and a
filepath to the module containing the shim. You can then point to these files
in your pseudo-node implementation. Note that beyond the nodecore modules
there is also a process module, there mimics global.process
in node.
1require('browser-builtins');
1{ 2 assert: '/user/node_modules/browser-builtins/builtin/assert.js', 3 child_process: '/user/node_modules/browser-builtins/builtin/child_process.js', 4 cluster: '/user/node_modules/browser-builtins/builtin/cluster.js', 5 dgram: '/user/node_modules/browser-builtins/builtin/dgram.js', 6 dns: '/user/node_modules/browser-builtins/builtin/dns.js', 7 domain: '/user/node_modules/browser-builtins/builtin/domain.js', 8 events: '/user/node_modules/browser-builtins/builtin/events.js', 9 fs: '/user/node_modules/browser-builtins/builtin/fs.js', 10 https: '/user/node_modules/browser-builtins/builtin/https.js', 11 net: '/user/node_modules/browser-builtins/builtin/net.js', 12 path: '/user/node_modules/browser-builtins/builtin/path.js', 13 process: '/user/node_modules/browser-builtins/builtin/process.js', 14 querystring: '/user/node_modules/browser-builtins/builtin/querystring.js', 15 readline: '/user/node_modules/browser-builtins/builtin/readline.js', 16 repl: '/user/node_modules/browser-builtins/builtin/repl.js', 17 stream: '/user/node_modules/browser-builtins/builtin/stream.js', 18 string_decoder: '/user/node_modules/browser-builtins/builtin/string_decoder.js', 19 sys: '/user/node_modules/browser-builtins/builtin/sys.js', 20 timers: '/user/node_modules/browser-builtins/builtin/timers.js', 21 tls: '/user/node_modules/browser-builtins/builtin/tls.js', 22 tty: '/user/node_modules/browser-builtins/builtin/tty.js', 23 url: '/user/node_modules/browser-builtins/builtin/url.js', 24 util: '/user/node_modules/browser-builtins/builtin/util.js', 25 punycode: '/user/node_modules/browser-builtins/node_modules/punycode/punycode.js', 26 http: '/user/node_modules/browser-builtins/node_modules/http-browserify/index.js', 27 vm: '/user/node_modules/browser-builtins/node_modules/vm-browserify/index.js', 28 crypto: '/user/node_modules/browser-builtins/node_modules/crypto-browserify/index.js', 29 console: '/user/node_modules/browser-builtins/node_modules/console-browserify/index.js', 30 zlib: '/user/node_modules/browser-builtins/node_modules/zlib-browserify/index.js', 31 buffer: '/user/node_modules/browser-builtins/node_modules/buffer/index.js', 32 constants: '/user/node_modules/browser-builtins/node_modules/constants-browserify/constants.json', 33 os: '/user/node_modules/browser-builtins/node_modules/os-browserify/browser.js' 34}
When fixing a bug please check the following:
node-browser-builtins
uses zuul for client side testing. In summary, all you will need is a Saucelabs account (free one will work just fine). To get up and running with it, please follow zuul instructions.
Finally, just run:
npm test
node-browser-resolve
, originally written by Roman Shtylman (@shtylman).No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 5/29 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More