doclite
Minimal docsite generator.
What does this do?
It turns your code into a website version, where comments are displayed nicely, and modules link to one another.
Basically, it turns this:
; // Create the appconst app = ; /* Set up the initial route */app; /* Start the server! */app;
into this:
Getting started
npm install doclite
const Doclite = ; Doclite;
API
Doclite.getTokens(src)
Returns an array of objects with the following properties:
value
: Source textstart
,end
: Position in sourcetype
: String identifying the token type