{"id":13902882,"url":"https://github.com/ryansonshine/typescript-npm-cli-template","last_synced_at":"2025-06-23T01:08:22.187Z","repository":{"id":38109096,"uuid":"376083659","full_name":"ryansonshine/typescript-npm-cli-template","owner":"ryansonshine","description":"Boilerplate to kickstart creating an npm CLI using TypeScript","archived":false,"fork":false,"pushed_at":"2024-06-21T14:33:43.000Z","size":1554,"stargazers_count":22,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-20T14:07:17.844Z","etag":null,"topics":["boilerplate","cli","codecov","commitizen","eslint","jest","semantic-release","starter","template","typescript","vscode"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ryansonshine.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-06-11T16:30:43.000Z","updated_at":"2025-05-14T12:04:40.000Z","dependencies_parsed_at":"2024-06-22T07:04:37.652Z","dependency_job_id":"68acd2cc-45b0-48cc-b69b-44174484093c","html_url":"https://github.com/ryansonshine/typescript-npm-cli-template","commit_stats":{"total_commits":26,"total_committers":3,"mean_commits":8.666666666666666,"dds":0.2692307692307693,"last_synced_commit":"7080797cbcec9c666673a400599ea87ca5725174"},"previous_names":[],"tags_count":5,"template":true,"template_full_name":null,"purl":"pkg:github/ryansonshine/typescript-npm-cli-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryansonshine%2Ftypescript-npm-cli-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryansonshine%2Ftypescript-npm-cli-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryansonshine%2Ftypescript-npm-cli-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryansonshine%2Ftypescript-npm-cli-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryansonshine","download_url":"https://codeload.github.com/ryansonshine/typescript-npm-cli-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryansonshine%2Ftypescript-npm-cli-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261392179,"owners_count":23151718,"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":["boilerplate","cli","codecov","commitizen","eslint","jest","semantic-release","starter","template","typescript","vscode"],"created_at":"2024-08-06T22:01:28.843Z","updated_at":"2025-06-23T01:08:17.175Z","avatar_url":"https://github.com/ryansonshine.png","language":"TypeScript","funding_links":[],"categories":["cli"],"sub_categories":[],"readme":"# typescript-npm-cli-template\n\n\u003e Boilerplate to kickstart creating a Node.js command-line tool\n\nInspired by [node-cli-boilerplate](https://github.com/sindresorhus/node-cli-boilerplate)\n\n## Getting started\n\n### Set up your repository\n\n**Click the \"Use this template\" button.**\n\nAlternatively, create a new directory and then run:\n\n```bash\ncurl -fsSL https://github.com/ryansonshine/typescript-npm-cli-template/archive/main.tar.gz | tar -xz --strip-components=1\n```\n\nReplace `FULL_NAME`, `GITHUB_USER`, and `REPO_NAME` in the script below with your own details to personalize your new package:\n\n```bash\nFULL_NAME=\"John Smith\"\nGITHUB_USER=\"johnsmith\"\nREPO_NAME=\"my-cool-package\"\nsed -i.mybak \"s/\\([\\/\\\"]\\)(ryansonshine)/$GITHUB_USER/g; s/typescript-npm-cli-template\\|my-cli-name/$REPO_NAME/g; s/Ryan Sonshine/$FULL_NAME/g\" package.json package-lock.json README.md\nrm *.mybak\n```\n\n### Add NPM Token\n\nAdd your npm token to your GitHub repository secrets as `NPM_TOKEN`.\n\n### Add Codecov integration\n\nEnable the Codecov GitHub App [here](https://github.com/apps/codecov).\n\n**Remove everything from here and above**\n\n---\n\n# my-cli-name\n\n[![npm package][npm-img]][npm-url]\n[![Build Status][build-img]][build-url]\n[![Downloads][downloads-img]][downloads-url]\n[![Issues][issues-img]][issues-url]\n[![Code Coverage][codecov-img]][codecov-url]\n[![Commitizen Friendly][commitizen-img]][commitizen-url]\n[![Semantic Release][semantic-release-img]][semantic-release-url]\n\n\u003e My awesome command-line tool\n\n## Install\n\n```bash\nnpm install my-cli-name\n```\n\n## Usage\n\n```bash\nUsage: my-command [options]\n\nOptions:\n  -V, --version            output the version number\n  -d, --debug              enables verbose logging (default: false)\n\nExamples:\n\n  $ my-command --version\n  1.0.0\n```\n\n[build-img]:https://github.com/ryansonshine/typescript-npm-cli-template/actions/workflows/release.yml/badge.svg\n[build-url]:https://github.com/ryansonshine/typescript-npm-cli-template/actions/workflows/release.yml\n[downloads-img]:https://img.shields.io/npm/dt/typescript-npm-cli-template\n[downloads-url]:https://www.npmtrends.com/typescript-npm-cli-template\n[npm-img]:https://img.shields.io/npm/v/typescript-npm-cli-template\n[npm-url]:https://www.npmjs.com/package/typescript-npm-cli-template\n[issues-img]:https://img.shields.io/github/issues/ryansonshine/typescript-npm-cli-template\n[issues-url]:https://github.com/ryansonshine/typescript-npm-cli-template/issues\n[codecov-img]:https://codecov.io/gh/ryansonshine/typescript-npm-cli-template/branch/main/graph/badge.svg\n[codecov-url]:https://codecov.io/gh/ryansonshine/typescript-npm-cli-template\n[semantic-release-img]:https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\n[semantic-release-url]:https://github.com/semantic-release/semantic-release\n[commitizen-img]:https://img.shields.io/badge/commitizen-friendly-brightgreen.svg\n[commitizen-url]:http://commitizen.github.io/cz-cli/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryansonshine%2Ftypescript-npm-cli-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryansonshine%2Ftypescript-npm-cli-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryansonshine%2Ftypescript-npm-cli-template/lists"}