Browserify vs npm

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Browserify
Browserify

444
307
+ 1
260
npm
npm

18K
13.5K
+ 1
1.6K
Add tool

Browserify vs npm: What are the differences?

What is Browserify? Browser-side require() the node.js way. Browserify lets you require('modules') in the browser by bundling up all of your dependencies.

What is npm? The package manager for JavaScript. npm is the command-line interface to the npm ecosystem. It is battle-tested, surprisingly flexible, and used by hundreds of thousands of JavaScript developers every day.

Browserify and npm belong to "Front End Package Manager" category of the tech stack.

"Node style browser code" is the top reason why over 73 developers like Browserify, while over 642 developers mention "Best package management system for javascript" as the leading cause for choosing npm.

Browserify and npm are both open source tools. It seems that npm with 17.2K GitHub stars and 3.17K forks on GitHub has more adoption than Browserify with 12.7K GitHub stars and 1.12K GitHub forks.

Coursera, 9GAG, and Intuit are some of the popular companies that use npm, whereas Browserify is used by Cloudflare, Inc., UNION, and Chooos. npm has a broader approval, being mentioned in 2605 company stacks & 2587 developers stacks; compared to Browserify, which is listed in 111 company stacks and 42 developer stacks.

What is Browserify?

Browserify lets you require('modules') in the browser by bundling up all of your dependencies.

What is npm?

npm is the command-line interface to the npm ecosystem. It is battle-tested, surprisingly flexible, and used by hundreds of thousands of JavaScript developers every day.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Browserify?
Why do developers choose npm?

Sign up to add, upvote and see more prosMake informed product decisions

What are the cons of using Browserify?
What are the cons of using npm?
    Be the first to leave a con
    What companies use Browserify?
    What companies use npm?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Browserify?
    What tools integrate with npm?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Browserify and npm?
    Bower
    Bower is a package manager for the web. It offers a generic, unopinionated solution to the problem of front-end package management, while exposing the package dependency model via an API that can be consumed by a more opinionated build stack. There are no system wide dependencies, no dependencies are shared between different apps, and the dependency tree is flat.
    Webpack
    A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
    Babel
    Babel will turn your ES6+ code into ES5 friendly code, so you can start using it right now without waiting for browser support.
    RequireJS
    RequireJS loads plain JavaScript files as well as more defined modules. It is optimized for in-browser use, including in a Web Worker, but it can be used in other JavaScript environments, like Rhino and Node. It implements the Asynchronous Module API. Using a modular script loader like RequireJS will improve the speed and quality of your code.
    Yarn
    Yarn caches every package it downloads so it never needs to again. It also parallelizes operations to maximize resource utilization so install times are faster than ever.
    See all alternatives
    Decisions about Browserify and npm
    No stack decisions found
    Interest over time
    Reviews of Browserify and npm
    No reviews found
    How developers use Browserify and npm
    Avatar of lispur
    lispur uses npmnpm

    Utilize npm private module to package shared library for different React / React Native clients. Shareable code goes here. Basically deliver Redux Store with Firebase integration and business logic in a library. Each React app utilizes this while delivering a device/target specific UI.

    Avatar of Gustavo Leon
    Gustavo Leon uses BrowserifyBrowserify

    With Browserify we could create the inspector snippet used to connect the user's devices with the Dashboard. Using CommonJS modules we could organize large amounts of code alongside third-party JavaScript modules.

    Avatar of Refractal
    Refractal uses npmnpm

    If you're using Node or Gulp, you can't help but use NPM in some form or another. Fortunately that's never a bad thing with the massive package repository and glowing ecosystem making it a breeze to work with.

    Avatar of Fred Steffen
    Fred Steffen uses BrowserifyBrowserify

    It's the lesser of all of the other evils out there. Webpack makes you completely blind to how things are put together. I like gulp, this made it easy.

    Avatar of Oomba
    Oomba uses npmnpm

    We manages all of our packages, including Angular JS through npm. It is a very quick way of downloading / installing packages into your project.

    Avatar of Thibault Maekelbergh
    Thibault Maekelbergh uses npmnpm

    Module is published as bpost on the npm registry. Tasks for the module are also defined as npm run tasks with commit hooks for git

    Avatar of Andrew Gatenby
    Andrew Gatenby uses npmnpm

    It's the front-end version of Composer, so is pretty essential to pull in packages that can be tracked and kept up to date.

    Avatar of opening.io
    opening.io uses BrowserifyBrowserify

    Main React functionality pipeline broken into CommonJS modules: Reflux data stores, React components (cjsx - coffee/jsx).

    Avatar of Tim De Lange
    Tim De Lange uses BrowserifyBrowserify

    Made sharing node modules with the frontend real easy. Especially when developing hybrid apps.

    Avatar of CodeBee
    CodeBee uses BrowserifyBrowserify

    We use Browserify to keep our JS organized by requiring modules.

    How much does Browserify cost?
    How much does npm cost?
    Pricing unavailable
    Pricing unavailable
    News about Browserify
    More news