Generate documentation from JavaScript
To render a single page do
cat input.js | codeine [opts]
The output html wil be written to sdtout
To render a collection of files
codeine GLOB [*GLOB] [--dest DIR] [opts]
To create a server that re-generates on each request
codeine --server [--src DIR] [opts]
server options include
server.port
##API
var doc = require('codeine')
###methods
doc(opts)
Returns a duplex stream
var generate = require('codeine').generate
`
/*
# noop
Does exactly what you might expect
*/
function noop() {
}
`.pipe(generate()).pipe(process.stdout)
npm install codeine
npm install -g codeine
MIT