viewscript-table-of-contents
v0.0.6
Published
Extracts a table-of-contents from some Viewscript.
Downloads
2
Readme
viewscript-table-of-contents
Extracts a table-of-contents from some Viewscript.
Install
$ npm install viewscript-table-of-contents --save
Usage
const extractToc = require('viewscript-table-of-contents')
const toc = extractToc(
{
title: 'Simple demo form!',
widgets: []
})
Testing
$ npm test