Nanodom is a small dom manipulation library.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
test
.gitignore
LICENSE
README.md
gulpfile.js
nanodom.js
package.json

README.md

nanodom

browser support

Nanodom is a small DOM manipulation library.

1500 B nanodom.min.js     // minified
 665 B nanodom.min.js.gz  // minified+gzipped

Install

Nanodom is available on both npm and bower.

$> npm install nanodom
$> bower install nanodom

Use

// Node (browserify)
var dom = require('nanodom')
	
// Browser AMD
require(['nanodom'], function(dom) {
	dom('.cake').each(function(e) { e.classList.add('sprinkles') })
})

//Browser Script
<script src="nanodom.js"></script>

Docs

For full documentation see the spec.

enjoy.