dep-docs

1.0.1 • Public • Published

dep-docs (in dev... now)

NPM version

a simple tools to collect node modules's docs(readme) in your project.

API sample

var depDocs = requrie('dep-docs');
 
var docs = depDocs('./');

result's format:

[
    [readmePath1, readmePath2, ...],
    [module1, module2, ...]
]

first array is the readme path list, the second array is the module name list of those module didn't has a readme file.

CLI

$ docs ./

This command will generate html files from modules' readmea in node_modules/.docs and a _toc.html file.

If you are using Mac OS, the _toc.html will be opened with your default browser.

License

MIT © Leigh Zhu

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i dep-docs

    Weekly Downloads

    13

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • lisposter