Gathering detailed insights and metrics for apidocs-cli
Gathering detailed insights and metrics for apidocs-cli
Gathering detailed insights and metrics for apidocs-cli
Gathering detailed insights and metrics for apidocs-cli
Async CLI for automatically generating API docs from code comments with `helper-apidocs`
npm install apidocs-cli
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
3 Stars
29 Commits
2 Watchers
11 Branches
1 Contributors
Updated on Nov 20, 2016
Latest Version
3.0.3
Package Id
apidocs-cli@3.0.3
Size
4.37 kB
NPM Version
3.7.1
Node Version
5.6.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
Command-line app for generating API docs from code comments. Can be used as API of helper-apidocs package.
npm i apidocs-cli --global
or use it as module, not as cli
npm i apidocs-cli --save
For more use-cases see the tests
Generate API docs from code comments in the JavaScript files that match the given
patterns
. Only code comments with@api public
are rendered.
Params
<files>
{String} filepath(s) or glob pattern(s)[options]
{Object} options to pass to [helper-apidocs][apidocs] or callback
<callback>
{Function} node-style callback function (err, res)
Example
1const apidocsCli = require('apidocs-cli') 2 3apidocsCli('./*.js', function (err, res) { 4 if (err) { 5 console.error(err.message) 6 return 7 } 8 console.log(res) 9 //=> markdown formatted documentation of 10 // all .js files in repo root (index.js and test.js) 11})
Synchronous generating API Docs.
Params
<files>
{String} filepath(s) or glob pattern(s)[options]
{Object} options to pass to [helper-apidocs][apidocs]Example
1const apidocsCli = require('apidocs-cli') 2const docs = apidocsCli.sync('./*.js') 3 4console.log(docs) 5//=> markdown formatted documentation of 6// all .js files in repo root (index.js and test.js)
run
apidocs --help
Command-line app for generating API docs from code comments.
Can be used as API of `helper-apidocs` package.
Options (plus any options introduced in helper-apidocs)
--help show this help
--version current version
Usage
apidocs <FILES...> [flags]
Example
apidocs index.js
apidocs ./lib/*.js
Issues: https://github.com/tunnckoCore/apidocs-cli/issues
Readme: https://github.com/tunnckoCore/apidocs-cli
Helper: https://github.com/helpers/helper-apidocs
user/repo#branch
name
or user/repo
exists in npm registry or in github as user repository.Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/29 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More