referencer
v0.2.5
Published
Generate a markdown reference from your public API jsdocs and add it to your readme.
Downloads
10
Readme
referencer-js
Generate a markdown reference from your public API docstrings and add it to your readme.
Features
- Uses
jsdoct-to-markdown
under the hood
Getting Started
The package uses semantic versioning. It means that major versions could include breaking changes.
$ npm install referencer
Documentation
referencer package README.md --in-place
API Reference
cli
Command-line interface
Usage: cli [options] <package> <document>
Options:
--in-place Output as JSON
--package-pattern <package-pattern> Package pattern (default: "const { (\w+) } = require\('\.\/(\w+)'\)")
--document-section <document-section> Document section (default: "## API Reference")
-h, --help output usage information
generateDocument()
Generate document
generateReference()
Generate reference
Contributing
nvm install 12
nvm use 12
npm install
npm test
Changelog
v0.x
- Initial version