[old / outdated] examples of frontend npm uses
MIT License
Lessons/examples for creative coding, rapid prototyping, and front-end development with npm in JS. It demonstrates the strengths of modern practices like modularity, promises, functional programming, browserify, Node, ES6, etc.
This is still a work in progress. More goodies coming soon.
You can run any of the demos here:
http://mattdesl.github.io/frontend-npm-goodies/dist/
Some of the demos will also be published to RequireBin so you can easily jump in and edit them.
To run any of the demos from source:
git clone https://github.com/mattdesl/frontend-npm-goodies.git
cd frontend-npm-goodies
npm install
npm run build
(might take a while)For development of single modules, you can watch and enable debug bundles like so:
gulp watch --demo canvas-collision
Where the format is [folder]-[filename]
. Then you can open localhost:8000/canvas-collision.html
to see it in action. Examples:
gulp watch --demo image-animation
gulp watch --demo image-palette
gulp watch --demo image-preloader
gulp watch --demo image-preloader-es6
gulp watch --demo canvas-collision
MIT, see LICENSE.md for details.