spec-toc-obj

0.4.0 • Public • Published

Spec-toc-obj

Takes a window object and returns referencs to all first level list containers of the Table of Content of a W3C or WHATWG spec in a document fragment.

Known issues

A test currently fails due to the limitations of jsdom CSS selector (which, for now, doesn't recognize the /deep/ selector that matches elements within the shadow dom).

Readme

Keywords

Package Sidebar

Install

npm i spec-toc-obj

Weekly Downloads

2

Version

0.4.0

License

Apache License, Version 2.0

Last publish

Collaborators

  • tobie