Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

browserify-lite

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserify-lite - npm Package Compare versions

Comparing version 0.0.1 to 0.2.0

23

cli.js

@@ -10,10 +10,14 @@ #!/usr/bin/node

if (entrySourcePath === '--help') {
usage();
}
if (outputFileParam !== '--outfile') {
console.error("Expected second param to be --outfile");
process.exit(1);
console.error("Expected second param to be --outfile\n");
usage();
}
if (!outBundlePath || !entrySourcePath) {
console.error("Expected first arg to be source path and third arg to be out bundle path.");
process.exit(1);
console.error("Expected first arg to be source path and third arg to be out bundle path.\n");
usage();
}

@@ -24,1 +28,12 @@

});
function usage() {
console.error(
"Usage: browserify-lite ./entry-file.js --outfile bundle.js\n" +
"\n" +
"Standard Options:\n" +
"\n" +
" --outfile Write the browserify bundle to this file.");
process.exit(1);
}

2

package.json
{
"name": "browserify-lite",
"version": "0.0.1",
"version": "0.2.0",
"description": "browserify, minus some of the advanced features and heavy dependencies.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -11,2 +11,13 @@ # browserify-lite

nothing else.
* No source maps.
* Minimal dependencies.
## Usage
```
browserify-lite ./src/app.js --outfile public/app.js
```
./src/app.js can depend on any modules using Node.js's
[module resolution system](http://nodejs.org/docs/latest/api/modules.html#modules_all_together)
and they will be bundled as well.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc