yalt4node

0.5.3 • Public • Published

Yalt4node

yalt4node - yet another library template for nodejs

Install

npm i -g yalt4node

Usage

yalt4node generate lib

? Lib name (use camelCase or kebab-case => will be transformed to kebab-case) my super lib
? Enter your github username nriesco
⠼ 2/3 Installing...

Done!
Happy coding!

This will result in a directory (my-super-lib) with this structure:

├── .nyc_output
|  └── ...
├── cloud_function
|  └── index.js
|  └── index.html
├── COVERAGE
|  └── index.html
|  └── ...
├── dist
|  └── .create
|  └── COVERAGE.md
|  └── COVERAGE_RAW.md
|  └── DOCS.md
├── node_modules
|  └── ...
├── src
|  └── index.js
├── test
|  └── index.js
├── .eslintrc.js
├── .gcloudignore.js
├── .gitignore.js
├── .mocharc.js
├── .npmignore.js
├── CHANGELOG.md
├── cloudbuild.yaml
├── index.js
├── nyc.config.js
├── package-lock.json
├── package.json
├── README-GITHUB.md
├── README.md
└── webpack.config.js

Try open coverage/index.html and navigate that local site.

Also dist/COVERAGE.md and dist/DOCS.md are generated, they are (so far) fully compatible with vuepress and vuepress flowchart plugin.

DOCS.md will look like this:

Sample DOCS

And COVERAGE.md will look like this:

Sample COVERAGE

Important references

Package Sidebar

Install

npm i yalt4node

Weekly Downloads

111

Version

0.5.3

License

MIT

Unpacked Size

887 kB

Total Files

27

Last publish

Collaborators

  • nicoriesco