ziggurat.js
v0.8.2
Published
a tiny modular js library for templates and other shorthands
Downloads
420
Maintainers
Readme
Ziggurat
Ziggurat is a tiny JavaScript library for creating HTML elements based on data provided by JavaScript.
Ziggurat is divided into modules, each of which follows the UNIX philosophy of doing one thing, and doing it well:
zg-core: Main module - provideszg.queryandzg.deepfindzg-forms: Shorthand for formonsubmitwith form datazg-mirror: Simple state management solutionzg-stream: Helper methods for chunked HTTP
Usage
Before importing Ziggurat, you must include Imperative HTML.
You may either use the combined ziggurat.js file, or import the modules separately.
In the latter case, remember to always inlude zg-core first.
