Node API Project Design - Cli for generate structure base of api.
This is a Node.js module available through the
npm registry. It can be installed using the
npm
npm i -g napd
Help:
napd -h
Initialize an application on current directory
napd init <PROJECT_NAME> <TEMPLATE_TYPE>
Initialize an application on another directory
napd init <PROJECT_NAME> <TEMPLATE_TYPE> --dir DIRECTORY
API Base with ESM Modules - Check the docs
API Base with Fastify - Check the docs
API Base with Fastify and Typescript - Check the docs
- caporal: A full-featured framework for building command line applications (cli) with node.js
- enquirer: Stylish, intuitive and user-friendly prompt system. Fast and lightweight enough for small projects, powerful and extensible enough for the most advanced use cases.
- fs-extra: fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.
- mv: fs.rename but works across devices. same as the unix utility 'mv'
- ora: Elegant terminal spinner
MIT