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

browserify, minus some of the advanced features and heavy dependencies.

  • 0.5.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19
increased by280%
Maintainers
1
Weekly downloads
 
Created
Source

browserify-lite

browserify, minus some of the advanced features and heavy dependencies.

  • No builtin Node.js shims.
  • Naive AST tokenization for require instead of true AST parsing.
    • All require statements are found regardless of if they are in an if statement or a function body that is never called.
  • Only supports a single entry file and the --outfile parameter, nothing else.
  • No source maps.
  • Minimal dependencies.

Usage

browserify-lite ./entry-file.js --outfile bundle.js

Standard Options:

        --outfile         Write the browserify bundle to this file.
        --standalone xyz  Export as a window global.

./src/app.js can depend on any modules using Node.js's module resolution system and they will be bundled as well.

FAQs

Package last updated on 21 Mar 2020

Did you know?

Socket

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.

Install

Related posts

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