hast-util-to-text

v4.0.2
hast utility to get the plain-text value of a node according to the `innerText` algorithm
unist hast hast-util util utility html string content text and 2 more...

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-api

node --conditions development test.js

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-to-text

Metadata

  • MIT
  • Whatever
  • Titus Wormer
  • released 4/16/2024

Downloads

Maintainers