Skip to content

Learn to package your Node.js modules & apps for use in browsers!

Notifications You must be signed in to change notification settings

dwyl/learn-browserify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Learn Browserify

Browserify Header

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

Read

Basic Example

atom main.js
var unique = require('uniq');

var data = [1, 2, 2, 3, 4, 5, 5, 5, 6];

console.log(unique(data));
browserify main.js -o bundle.js

Now open open index.html in your browser and open the developer console.

You should expect to see: hello browserify

Further Reading

About

Learn to package your Node.js modules & apps for use in browsers!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published