Installations
npm install esbrowserify-pmb
Releases
Unable to fetch releases
Developer
mk-pmb
Developer Guide
Module System
CommonJS
Min. Node Version
Typescript Support
No
Node Version
8.17.0
NPM Version
6.14.17
Statistics
5 Commits
2 Watching
1 Branches
1 Contributors
Updated on 15 Apr 2023
Languages
JavaScript (100%)
Total Downloads
Cumulative downloads
Total Downloads
673
Last day
0%
1
Compared to previous day
Last week
0%
1
Compared to previous week
Last month
-20%
4
Compared to previous month
Last year
-59.7%
85
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
esbrowserify-pmb
Easily browserify ES modules. Think esmod-pmb/nodemjs but for browserify.
API
This module exports one function:
esbrowserify(opt)
Where opt
is an options object which supports these mostly optional keys:
srcAbs
(string, required): Absolute path to your entrypoint.saveAs
(string): If truthy, path where to save the bundle code. May be relative tosrcAbs
.verbosity
(number): Log level. 0 = silent (default), 1 = report a few lifecycle events.minify
: Whether to minify the bundle.undefined
ortrue
(default): Use default minifier.false
: Don't minify. any other truthy value: Append the value to the browserifyplugins
option.envify
(object): Custom variables forenvify
.targetPlatform
: What platform to target.'browser'
or any false-y value (default): The bundle shall run in browsers.'nodejs'
: The bundle shall run in node.js.
refineBrOpt
(function): If set, it is invoked with one argument, the generated browserify options, so they can be checked and refined. Your function may modify them in-place and return a false-y value, or return a new and improved options object.
Returns a Promise for the bundle code as a string.
Usage
see the tests.
Known issues
ReferenceError: regeneratorRuntime is not defined
: solved- Needs more/better tests and docs.
Â
License
ISC
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
Found 0/5 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
2.6
/10
Last Scanned on 2024-11-18
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