3 ms·
browserify (https://github.com/substack/node-browserify https://github.com/substack/node-browserify) is great for providing require() and bundling necessary dep
by pyrotechnick 15y ago
browserify (https://github.com/substack/node-browserify https://github.com/substack/node-browserify) is great for providing require() and bundling necessary dependencies for the browser.
- Aaronontheweb 15y agoThank god for this - I've been doing a lot of work with some NPM packages that I want to use on the client but for the life of me couldn't figure out how to do it. This looks like it'll do just the trick. Thanks!
- justicefries 15y agoAlso, requirejs (http://requirejs.org http://requirejs.org) is great. It's AMD (asynchronous module definitions) based, and it's worth knowing the differences between AMD and CommonJS (which is what Browserify is based off of).