hast-util-from-html-isomorphic

v2.0.0
hast utility that turns HTML into a syntax tree (while being small in browsers)
unist hast hast-util util utility html parse dom

prepack

npm run build && npm run format

build

tsc --build --clean && tsc --build && type-coverage

format

remark . -qfo && prettier . -w --log-level warn && xo --fix

test-browser

node --conditions development --conditions browser -r ./test/dom.cjs test/index.js

test-node

node --conditions development test/index.js

test-worker

node --conditions development --conditions worker test/index.js

test-api

npm run test-browser && npm run test-node && npm run test-worker

test-coverage

c8 --100 --reporter lcov npm run test-api

test

npm run build && npm run format && npm run test-coverage
npm i hast-util-from-html-isomorphic

Metadata

  • MIT
  • Whatever
  • Remco Haszing
  • released 8/8/2023

Downloads

Maintainers