Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
this zero-dependency package will auto-generate documentation for your npm-package with zero-config
this zero-dependency package will auto-generate documentation for your npm-package with zero-config
git-branch : | master | beta | alpha |
---|---|---|---|
test-report : | |||
coverage : | |||
build-artifacts : |
# example.sh
# this shell script will auto-generate documentation for the mysql npm-package with zero-config
# instruction
# 1. copy and paste this entire shell script into a console and press enter
# 2. open /tmp/apidoc.html to view the auto-generated documentation
shExampleSh() {(set -e
# npm install apidoc-lite
npm install apidoc-lite
# npm install mysql
npm install mysql
# auto-generate documentation for the mysql npm-package with zero-config
node_modules/.bin/apidoc-lite mysql > /tmp/apidoc.html
)}
shExampleSh
{
"author": "kai zhu <kaizhu256@gmail.com>",
"bin": {
"apidoc-lite": "lib.apidoc.js"
},
"description": "this zero-dependency package will auto-generate documentation for your npm-package with zero-config",
"devDependencies": {
"electron-lite": "kaizhu256/node-electron-lite#alpha",
"utility2": "kaizhu256/node-utility2#alpha"
},
"engines": {
"node": ">=4.0"
},
"homepage": "https://github.com/kaizhu256/node-apidoc-lite",
"keywords": [
"api-doc",
"apidoc",
"doc",
"documentation",
"doxygen",
"javadoc"
],
"license": "MIT",
"main": "lib.apidoc.js",
"name": "apidoc-lite",
"nameAlias": "apidoc",
"nameOriginal": "apidoc-lite",
"os": [
"darwin",
"linux"
],
"readmeParse": "1",
"repository": {
"type": "git",
"url": "https://github.com/kaizhu256/node-apidoc-lite.git"
},
"scripts": {
"build-ci": "utility2 shReadmeTest build_ci.sh",
"env": "env",
"heroku-postbuild": "npm install 'kaizhu256/node-utility2#alpha' && utility2 shDeployHeroku",
"postinstall": "if [ -f lib.apidoc.npm_scripts.sh ]; then ./lib.apidoc.npm_scripts.sh postinstall; fi",
"publish-alias": "VERSION=$(npm info $npm_package_name version); for ALIAS in api_doc apidocs api-doctor doctor-api npm-doc npmdoc; do utility2 shNpmPublishAs . $ALIAS $VERSION; utility2 shNpmTestPublished $ALIAS || exit $?; done",
"start": "export PORT=${PORT:-8080} && export npm_config_mode_auto_restart=1 && utility2 start",
"test": "export PORT=$(utility2 shServerPortRandom) && utility2 test test.js"
},
"version": "2017.3.9"
}
# build_ci.sh
# this shell script will run the build for this package
shBuildCiInternalPost() {(set -e
shReadmeBuildLinkVerify
)}
shBuildCiInternalPre() {(set -e
shReadmeTest example.js
shReadmeTest example.sh
# save screen-capture
(export MODE_BUILD=testExampleSh &&
export url=/tmp/apidoc.html &&
utility2 shBrowserTest &&
cp /tmp/apidoc.html "$npm_config_dir_build/apidoc.example.html") || return $?
shNpmTestPublished
)}
shBuildCiPost() {(set -e
return
)}
shBuildCiPre() {(set -e
return
)}
# init env
eval $(utility2 source) && shBuildCi
FAQs
this zero-dependency package will auto-generate documentation for your npm-package with zero-config
The npm package apidocs receives a total of 131 weekly downloads. As such, apidocs popularity was classified as not popular.
We found that apidocs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.