PiecefulJS
A very simple library for connecting your HTML with your JavaScript.
When Backbone, Angular, and React are overkill, add a tad of structure to your code using components, made up of pieces.
Features:
- Modularize your JS into components.
- Add structure by breaking components into "pieces".
- Easily declare event listeners.
- Makes use of jQuery if available, but it's not required.
- No external dependencies.
- Compatible with IE9+ and all other modern browsers.
Usage Example
Do you agree to the terms and conditions? Sign Up
Installation
npm install pieceful
Then load peaceful.js
onto your web site however you like. It provides a single global function: component
.
Credits
Created by Jon Abrams