{"id":26847613,"url":"https://github.com/shubhranshu/nodejs-starter-template","last_synced_at":"2025-03-30T20:22:27.531Z","repository":{"id":42888546,"uuid":"254517609","full_name":"shubhranshu/nodejs-starter-template","owner":"shubhranshu","description":"NodeJs CLI starter template repository","archived":false,"fork":false,"pushed_at":"2023-01-06T03:09:25.000Z","size":1278,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T10:11:27.460Z","etag":null,"topics":["babel-cli","chalk-cli","cli","github-actions","github-workflow","inquirer","node-cli","node-cli-learn","node-esm","node-template","nodejs","nodejs-cli","nodejs-template","nodemon","starter","starter-template","startertemplate","template"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shubhranshu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-10T01:39:30.000Z","updated_at":"2021-05-12T09:33:41.000Z","dependencies_parsed_at":"2023-02-05T04:45:40.202Z","dependency_job_id":null,"html_url":"https://github.com/shubhranshu/nodejs-starter-template","commit_stats":null,"previous_names":[],"tags_count":4,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhranshu%2Fnodejs-starter-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhranshu%2Fnodejs-starter-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhranshu%2Fnodejs-starter-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shubhranshu%2Fnodejs-starter-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shubhranshu","download_url":"https://codeload.github.com/shubhranshu/nodejs-starter-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246319191,"owners_count":20758308,"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":["babel-cli","chalk-cli","cli","github-actions","github-workflow","inquirer","node-cli","node-cli-learn","node-esm","node-template","nodejs","nodejs-cli","nodejs-template","nodemon","starter","starter-template","startertemplate","template"],"created_at":"2025-03-30T20:22:26.771Z","updated_at":"2025-03-30T20:22:27.505Z","avatar_url":"https://github.com/shubhranshu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeJs CLI Starter template\n\nStarter template to get going ith NodeJs CLI development without much fuss.\n\n| Branch  |                                                                                                           |                                                                                                         |\n| ------- | --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |\n| develop | ![Build](https://github.com/shubhranshu/nodejs-starter-template/workflows/Build/badge.svg?branch=develop) | ![Test](https://github.com/shubhranshu/nodejs-starter-template/workflows/Test/badge.svg?branch=develop) |\n| master  | ![Build](https://github.com/shubhranshu/nodejs-starter-template/workflows/Build/badge.svg?branch=master)  | ![Test](https://github.com/shubhranshu/nodejs-starter-template/workflows/Test/badge.svg?branch=master)  |\n\n## Configured tooling\n\n- [x] ES6 support with babel\n- [x] Test script with Ava\n- [x] Watch scripts for run and tests\n- [x] Babel, Prettier and Eslint configs\n- [x] Github Actions for build and test\n\n## Usage and Configuration\n\nUsing this template to initialise repository or copy the files as required. Or simply use it to get some inspiration.\n\n### Scripts\n\n- **build** : `Build the project and copy the built files to dist folder`\n- **test** : `Run ava tests`\n- **watch-test** : `Watch code and run tests on code change`\n- **cli-run** : `Run the code without building`\n- **watch-run** : `Use nodemon to watch code and run on change`\n\n### Packages\n\nWe are using [npm](https://github.com/npm/cli) as the default package manager. To use [Yarn](https://github.com/yarnpkg/yarn) delete [package-lock.json](package-lock.json) and run `yarn`\n\n- [chalk](https://github.com/chalk/chalk)\n- [inquirer](https://github.com/SBoudrias/Inquirer.js)\n- [progress](https://github.com/visionmedia/node-progress)\n\nDev dependencies\n\n- [ava](https://github.com/avajs/ava)\n- [babel](https://github.com/babel/babel)\n- [eslint](https://github.com/eslint/eslint)\n- [nodemon](https://github.com/remy/nodemon)\n\n## To Do\n\n- [ ] Being able to parameterise the setup\n- [ ] Options for Test framework\n- [ ] CLI setup without using the repository\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhranshu%2Fnodejs-starter-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshubhranshu%2Fnodejs-starter-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshubhranshu%2Fnodejs-starter-template/lists"}