Lean Browser Library for typical DOM operations
npm install libdomThis library is packaged by npm, so it can be installed by running code below.
``shell`
npm install libdom --save
libdom can be required directly within webpack or browserify.
`javascript
var libdom = require("libdom");
libdom.on(global.document,
"load",
function (event) {
console.log('okay, got it! ', event.target);
});
`
javascript
// default
import libdom from "libdom";// tree shaking
import { on, addClass } from "libdom";
`$3
libdom can embedded in HTML