Skip to content

NodeJsForDevelopers/autotoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple web-scraping and module packaging demo. Generates a table of contents by spidering from a given URL.

Usage

As a command line tool

npm install -g autotoc
autotoc http://hgc.io

As a library

npm install autotoc --save
const autotoc = require('autotoc');
autotoc('http://hgc.io').then(autotoc.consolePrinter, err => console.log(err));

Development

git clone
cd autotoc
npm install

To regenerate the client-side UMD version:

npm install -g browserify
browserify autotoc.js -s autotoc -o browser/scripts/autotoc.js

About

Simple web-scraping and module packaging demo. Generates a table of contents by spidering from a given URL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors