Browserify lets you require('modules') in the browser by bundling up all of your dependencies. Browsers don't have the require method defined, but Node.js does. With Browserify you can write code that uses require in the same way that you would use it in Node. Install the uniq module with npm. Now recursively bundle up all the required modules starting at main.js into a single file called bundle.js with the browserify command. Browserify parses the AST for require() calls to traverse the entire dependency graph of your project. Drop a single <script> tag into your html and you're done! browserify is a tool for compiling node-flavored commonjs modules for the browser. You can use browserify to organize your code and use third-party libraries even if you don't use node itself in any other capacity except for bundling and installing packages with npm.

Features

  • Use many of the tens of thousands of modules on NPM in the browser
  • Use watchify, a browserify compatible caching bundler, for super-fast bundle rebuilds as you develop
  • Use tinyify for optimized, tree-shaked bundles in production environments
  • Use --debug when creating bundles to have Browserify automatically include Source Maps for easy debugging
  • Check out tools like Beefy or run-browser which make automating browserify development easier
  • Get browser versions of the node core libraries events, stream, path, url, assert, buffer, util, querystring, http, vm, and crypto when you require() them

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Browserify

Browserify Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Browserify!

Additional Project Details

Operating Systems

Windows

Programming Language

JavaScript

Related Categories

JavaScript Browser Extensions and Plugins

Registered

2021-04-19