mdast-util-toc

v6.0.0
mdast utility to generate a table of contents from a tree
unist mdast mdast-util util utility markdown table contents toc and 1 more...

test

npm run format && npm run test-coverage

build

rimraf "{lib/**,test/**,}*.d.ts" && tsc && type-coverage

format

remark . -qfo && prettier . -w --loglevel warn && xo --fix

prepack

npm run build && npm run format

test-api

node test/index.js

test-coverage

c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js

Metadata

  • MIT
  • Whatever
  • Titus Wormer
  • released 4/30/2021

Downloads

Maintainers