browserify-calculator
Demo for tutorial
-
NPM init
-
Create index.html
-
Creat a main.js, npm install underscore and require it in main.js. Do something cool.
-
Run browserify cli to create the bundle.js file, link it in the index.html and test it out.
-
Create some modules
-
Require the modules, do some stuff and then log it to the console. This is easy.
-
Make a module that uses an npm installed module (eg jq) and use it in our calculator