1.2.0 • Published 4 years ago

deptodoc v1.2.0

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

Cross platform Command Line Interface utility with Node.js

CI nycrc config on GitHub GitHub issues JavaScript Style Guide

Document your npm dependencies into your README.md file : dep to doc !

Table of Contents

Installation

We recommend to install dep to doc globally

$ npm install deptodoc --global

Usage

Add the following tag ~~{dependencies}~~ into your README.md file.

~~{dependencies}~~

Then run the command deptodoc run, dep to doc cli will replace the tag with your list of installed dependencies from a generated markdown template.

$ deptodoc run

Done !

Notes:

  • the generated markdown also provides a usefull minimum table of contents anchor navigation you can use to structure your documentation page
  • you will have to remove the generated markdown table of your dependencies and run the cli again in order to include new packages...

Help

$ deptodoc --help
Usage: deptodoc <command> [options]

Commands:
  deptodoc run         Run deptodoc CLI
  deptodoc home        Open in browser home page
  deptodoc issues      Open in browser issues page on GitHub
  deptodoc author      Open in browser author page on GitHub

Options:
  -v, --version  Show version number   [boolean]
  -h, --help     Show help             [boolean]

List of Packages

Dependencies

PackageDescription
cross-envRun scripts that set and use environment variables across platforms
inquirerA collection of common interactive command line user interfaces
openOpen stuff like URLs, files, executables. Cross-platform
underscoreJavaScript's functional programming helper library
yargsYargs the modern, pirate-themed, successor to optimist

devDependencies

PackageDescription
better-docsJSdoc theme
chaiBDD/TDD assertion library for node.js and the browser. Test framework agnostic
chai-as-promisedExtends Chai with assertions about promises
chalkTerminal string styling done right
debugSmall debugging utility
eslintAn AST-based pattern checker for JavaScript
eslint-config-standardJavaScript Standard Style - ESLint Shareable Config
eslint-plugin-importImport with sanity
eslint-plugin-nodeAdditional ESLint's rules for Node.js
eslint-plugin-promiseEnforce best practices for JavaScript promises
eslint-plugin-standardESlint Plugin for the Standard Linter
jsdocAn API documentation generator for JavaScript
jsdoc-mermaidA tool to automagically create flowcharts and diagrams in your jsdocs
mochaSimple, flexible, fun test framework
nycThe Istanbul command line interface
sinonJavaScript test spies, stubs and mocks

Coverage

  • Coming soon!

Author

  • Thomas G. aka Drozerah - GitHub

License

  • MIT © Thomas G. aka Drozerah