1 | # min-dom
|
2 |
|
3 | A minimal dom toolbelt. Node friendly and based on utilities used by [component/dom](https://github.com/component/dom).
|
4 |
|
5 |
|
6 | ## Footprint
|
7 |
|
8 | Tiny if exposing only the most basic utilities (`event`, `classes`, `delegate`, `matches`, `query`).
|
9 |
|
10 | ```
|
11 | $ browserify index.js --standalone=dom | bundle-collapser | uglifyjs | gzip > min-dom.min.js.gz
|
12 | $ du min-dom.min.js.gz
|
13 | 4 min-dom.min.js.gz
|
14 | ```
|
15 |
|
16 | Bigger when exposing the [component/dom](https://github.com/component/dom) api.
|
17 |
|
18 | ```
|
19 | $ browserify dom/index.js --standalone=dom | bundle-collapser | uglifyjs | gzip > dom.min.js.gz
|
20 | $ du dom.min.js.gz
|
21 | 12 dom.min.js.gz
|
22 | ``` |
\ | No newline at end of file |