domsanitizer

v0.2.3
A template to parsable tree transformer used to produce valid HTML content.
dom sanitizer

build

npm run cjs && npm run rollup && npm run test && npm run min

cjs

ascjs esm cjs

coveralls

cat ./coverage/lcov.info | coveralls

rollup

rollup --config rollup.config.js && sed -i.bck 's/exports.default = index;/return index;/' index.js && rm index.js.bck

min

echo '/*! (c) Andrea Giammarchi - ISC */' > min.js && uglifyjs index.js -c -m >> min.js

test

istanbul cover test/index.js
npm i domsanitizer

Metadata

  • ISC
  • Whatever
  • Andrea Giammarchi
  • released 1/8/2021

Downloads

Maintainers