Browserify
browserify.org
- Free plan
- Web
What Browserify is
Browserify is a free web tool that lets browser code use Node-style require() calls. It reads those calls, follows the project’s dependency graph, and combines the required modules into a JavaScript file that can load through a script tag. Modules may come from npm, relative paths, or Node-style module lookup. The command-line interface and JavaScript API both create bundles, while --standalone can produce a UMD bundle. Browserify includes browser shims for Node libraries such as events, stream, path, url, assert, buffer, util, querystring, http, vm, and crypto. Bundles support process.nextTick(), __dirname, and __filename. The --debug option adds source maps. Transforms, transform commands, and plugins extend builds. Watchify is recommended for development rebuilds, and Tinyify for optimized tree-shaken production bundles. Many non-I/O npm modules work in the browser, while others need additional work.
Who it suits
It suits JavaScript developers who need npm or Node-style modules in browser bundles. It also fits teams needing source maps, plugins, UMD output, or separate development and production bundling tools.
Good to know, and what to watch
- Free plan
- JavaScript API and command line
- Source maps for debugging
- Plugins and transforms supported
- Tree-shaken production option
- Some modules require extra work
- Only latest major version supported
- Runs on the web platform
The verdict
Browserify provides dependency discovery, bundling, shims, and build extensions for browser-focused JavaScript projects. Its compatibility varies by npm module, so projects should check whether their dependencies work without additional changes.
What the maker publishes
- Additional integration
- The site points to Beefy and run-browser as tools for automating Browserify development. source
- API
- The README documents using Browserify directly through its JavaScript API as well as from the command line. source
- Build formats
- The command-line interface supports generating a UMD bundle with the --standalone option. source
- Built-in shims
- The README lists browser-specific shims for many Node built-in modules, including assert, buffer, crypto, events, path, stream, and url. source
- Bundling
- It recursively analyzes require() calls and bundles the dependency graph into a file that can be loaded with a script tag. source
- Compatibility limit
- The project README says many NPM modules that do not perform I/O work after being browserified, while others require more work. source
- Core library shims
- The site lists browser versions of Node core libraries including events, stream, path, url, assert, buffer, util, querystring, http, vm, and crypto. source
- Debugging
- The --debug option adds source maps to bundles for debugging. source
- Dependency discovery
- It parses require() calls to traverse the project dependency graph and bundle dependencies into a JavaScript file. source
- Development rebuilds
- The site recommends Watchify, described as a compatible caching bundler for fast bundle rebuilds during development. source
- Install
- The site instructs users to install Node.js and then install Browserify globally with npm install -g browserify. source
- License
- The GitHub repository identifies its license as MIT. source
- Module sources
- Browserify can bundle modules installed by npm and supports relative paths and module paths resolved using Node's module lookup algorithm. source
- Node compatibility
- The site says process.nextTick(), __dirname, and __filename work in Browserify bundles. source
- NPM modules
- The site says Browserify lets users use many NPM modules in the browser. source
- Optimized bundles
- The site recommends tinyify for optimized, tree-shaked production bundles. source
- Production optimization
- The site recommends Tinyify for optimized, tree-shaken production bundles. source
- Purpose
- Browserify lets you use Node-style require() in browser code by bundling dependencies. source
- Security support
- The project security policy says only the latest major version is supported and vulnerability reports should go through Tidelift. source
- Support
- The official site directs users to the #browserify IRC channel on freenode or to contact @browserify on Twitter for help. source
- Transforms and plugins
- The command-line options support transform modules, transform commands, and plugins. source
Checked against the maker's pages on 8 Oct 2026.