GithubHelp home page GithubHelp logo

rafaelgss / napd Goto Github PK

View Code? Open in Web Editor NEW
31.0 4.0 4.0 1.1 MB

Node API Project Design - CLI for generate structure base of api.

JavaScript 70.43% Shell 0.52% TypeScript 29.05%
nodejs-cli api-cli nodejs-boilerplate cli-boilerplate

napd's Introduction

NAPD

js-standard-style

Node API Project Design - Cli for generate structure base of api.

Installing globally

This is a Node.js module available through the npm registry. It can be installed using the npm

npm i -g napd

Setup application

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

Templates

API - Express ESM

API Base with ESM Modules - Check the docs

API - Fastify

API Base with Fastify - Check the docs

API - Fastify Typescript

API Base with Fastify and Typescript - Check the docs

Dependencies

  • 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

License

MIT

napd's People

Contributors

dependabot[bot] avatar rafaelgss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

napd's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.