{"id":15400341,"url":"https://github.com/rafaelgss/napd","last_synced_at":"2025-04-15T22:30:40.098Z","repository":{"id":34642748,"uuid":"181538281","full_name":"RafaelGSS/napd","owner":"RafaelGSS","description":"Node API Project Design - CLI for generate structure base of api.","archived":false,"fork":false,"pushed_at":"2023-03-08T01:28:19.000Z","size":1128,"stargazers_count":31,"open_issues_count":8,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T03:12:29.462Z","etag":null,"topics":["api-cli","cli-boilerplate","nodejs-boilerplate","nodejs-cli"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RafaelGSS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-15T17:51:44.000Z","updated_at":"2025-02-28T01:17:36.000Z","dependencies_parsed_at":"2024-10-20T11:17:17.099Z","dependency_job_id":null,"html_url":"https://github.com/RafaelGSS/napd","commit_stats":{"total_commits":68,"total_committers":3,"mean_commits":"22.666666666666668","dds":0.07352941176470584,"last_synced_commit":"20c235c7ac8005600e7289f027df869f80ff80d1"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafaelGSS%2Fnapd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafaelGSS%2Fnapd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafaelGSS%2Fnapd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RafaelGSS%2Fnapd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RafaelGSS","download_url":"https://codeload.github.com/RafaelGSS/napd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249165848,"owners_count":21223333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-cli","cli-boilerplate","nodejs-boilerplate","nodejs-cli"],"created_at":"2024-10-01T15:53:35.517Z","updated_at":"2025-04-15T22:30:39.486Z","avatar_url":"https://github.com/RafaelGSS.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAPD\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/)\n\nNode API Project Design - Cli for generate structure base of api.\n\n## Installing globally\n\nThis is a [Node.js](https://nodejs.org/) module available through the \n[npm registry](https://www.npmjs.com/). It can be installed using the \n[`npm`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally)\n\n```bash\nnpm i -g napd\n```\n\n## Setup application\n\n**Help:**\n\n```bash\nnapd -h\n```\n\n**Initialize an application on current directory**\n```bash\nnapd init \u003cPROJECT_NAME\u003e \u003cTEMPLATE_TYPE\u003e\n```\n\n**Initialize an application on another directory**\n```bash\nnapd init \u003cPROJECT_NAME\u003e \u003cTEMPLATE_TYPE\u003e --dir DIRECTORY\n```\n\n## Templates\n\n### API - Express ESM\n\nAPI Base with ESM Modules - Check the [docs](templates/api/express/README.md)\n\n### API - Fastify\n\nAPI Base with Fastify - Check the [docs](templates/api/fastify/README.md)\n\n### API - Fastify Typescript\n\nAPI Base with Fastify and Typescript - Check the [docs](templates/api/fastify-typescript/README.md)\n\n## Dependencies\n\n- [caporal](https://ghub.io/caporal): A full-featured framework for building command line applications (cli) with node.js\n- [enquirer](https://ghub.io/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.\n- [fs-extra](https://ghub.io/fs-extra): fs-extra contains methods that aren\u0026#39;t included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.\n- [mv](https://ghub.io/mv): fs.rename but works across devices. same as the unix utility \u0026#39;mv\u0026#39;\n- [ora](https://ghub.io/ora): Elegant terminal spinner\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelgss%2Fnapd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafaelgss%2Fnapd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelgss%2Fnapd/lists"}