Dominatrix
Push brand new DOM structures into pleasant submission!
Example
var _ = { return } var items = url: '/example/a' 'Something' url: '/example/b' 'More stuff'
This generates the following HTML structure:
Mistress. Something More stuff
Installing
Just grab it from NPM:
$ npm install dominatrix
Documentation
A quick reference of the API can be built using Calliope:
$ npm install -g calliope
$ calliope build
Tests
You can run all tests using Mocha (you'll also need PhantomJS):
$ npm test
You can run tests on a browser by just running npm run pretest
and loading
test/browser/tests.html
in a browser.
Platform support
This library assumes an ES5 environment, but can be easily supported in ES3 platforms by the use of shims. Just include es5-shim :3
Licence
MIT/X11. ie.: do whatever you want.