JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 127763
  • Score
    100M100P100Q160009F
  • License MIT

A minimal dom utility toolbelt

Package Exports

  • min-dom
  • min-dom/lib/attr
  • min-dom/lib/classes
  • min-dom/lib/clear
  • min-dom/lib/closest
  • min-dom/lib/delegate
  • min-dom/lib/domify
  • min-dom/lib/event
  • min-dom/lib/matches
  • min-dom/lib/query
  • min-dom/lib/remove
  • min-dom/vendor/keys.js
  • min-dom/vendor/props.js
  • min-dom/vendor/text.js
  • min-dom/vendor/to-function.js
  • min-dom/vendor/traverse.js
  • min-dom/vendor/trim.js
  • min-dom/vendor/type.js
  • min-dom/vendor/value.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (min-dom) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

min-dom

A minimal dom utility toolbelt. Library friendly and based on utilities provided by component.

Footprint

Tiny if exposing only the most basic utilities (event, classes, delegate, matches, query).

$ browserify index.js --standalone=dom | bundle-collapser | uglifyjs | gzip > min-dom.min.js.gz
$ du min-dom.min.js.gz
4    min-dom.min.js.gz

Bigger when exposing the component/dom api.

$ browserify dom/index.js --standalone=dom | bundle-collapser | uglifyjs | gzip > dom.min.js.gz
$ du dom.min.js.gz
12   dom.min.js.gz