
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
browserify-sa
Advanced tools
Run browserify-sa in a npm package and make a standalone build of the package.
Run browserify-sa
in a npm package and make a standalone build of the package.
You will need a global install of browserify
.
sudo npm install browserify -g
sudo npm install browserify-sa -g
Just run the command in the module you would like to make, like this:
browserify-sa
Basicly a simple wrapper around browserify that does something like this:
mkdir -p dist && browserify moduleMain -s moduleName > dist/module-name.js
This makes a dist/module-name.js
file based on the 'main' and 'name' fields in package.json
If you want another name for the the exposed variable name, you can specify:
-n
or --name
the name of the export, the global variable exposed.
Uglify:
--uglify
or -u
- will shorten and uglify the dist
build. Uglify will not always work with e.g. string literals
.
In order to use uglify
, you will need uglify.js
installed global.
sudo npm install -g uglify-js
MIT © Dennis Iversen
FAQs
Run browserify-sa in a npm package and make a standalone build of the package.
The npm package browserify-sa receives a total of 0 weekly downloads. As such, browserify-sa popularity was classified as not popular.
We found that browserify-sa demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.