{"id":15609224,"url":"https://github.com/freekmencke/node-ts-starter-cli","last_synced_at":"2025-04-28T12:05:39.248Z","repository":{"id":65210288,"uuid":"587421524","full_name":"FreekMencke/node-ts-starter-cli","owner":"FreekMencke","description":"Node TS Starter CLI makes setting up a new TypeScript Node.js project a breeze. Choose from advanced features like strict TS config, esbuild, Docker support, Prettier, and more.","archived":false,"fork":false,"pushed_at":"2025-01-10T19:30:33.000Z","size":701,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-28T12:05:30.984Z","etag":null,"topics":["cli","commitizen","create","docker","esbuild","eslint","github-actions","nodejs","prettier","starter","typescript"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/node-ts-starter-cli","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/FreekMencke.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-01-10T18:01:58.000Z","updated_at":"2025-01-10T19:30:37.000Z","dependencies_parsed_at":"2024-05-04T12:35:11.747Z","dependency_job_id":"8bd8db7c-6252-4394-811f-9e50d087de5c","html_url":"https://github.com/FreekMencke/node-ts-starter-cli","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreekMencke%2Fnode-ts-starter-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreekMencke%2Fnode-ts-starter-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreekMencke%2Fnode-ts-starter-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreekMencke%2Fnode-ts-starter-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FreekMencke","download_url":"https://codeload.github.com/FreekMencke/node-ts-starter-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251311330,"owners_count":21569009,"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":["cli","commitizen","create","docker","esbuild","eslint","github-actions","nodejs","prettier","starter","typescript"],"created_at":"2024-10-03T05:41:40.704Z","updated_at":"2025-04-28T12:05:39.225Z","avatar_url":"https://github.com/FreekMencke.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM package](https://img.shields.io/npm/v/node-ts-starter-cli.svg)](https://www.npmjs.com/package/node-ts-starter-cli)\n[![CI](https://github.com/FreekMencke/node-ts-starter-cli/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/FreekMencke/node-ts-starter-cli/actions/workflows/main.yml)\n[![GitHub issues](https://img.shields.io/github/issues/FreekMencke/node-ts-starter-cli.svg)](https://github.com/FreekMencke/node-ts-starter-cli/issues)\n[![GitHub license](https://img.shields.io/github/license/FreekMencke/node-ts-starter-cli.svg)](https://github.com/FreekMencke/node-ts-starter-cli/blob/master/LICENSE)\n\n# Node TS Starter CLI\n\nSince I make a lot of projects, I created this **Node TS Starter CLI** to easily create a new Node project with\nTypeScript.\n\n## Getting started\n\nTo get started with the Node TS Starter CLI, simply run the following command in your command line interface:\n\n```\nnpx node-ts-starter-cli create your-project-name -M\n```\n\nThe command will generate your project in the `./your-project-name/` folder.\n\nFor an example of a generated project you can look at the\n[example](https://github.com/FreekMencke/node-ts-starter-cli/tree/master/example).\n\n## Features\n\n- Strict TypeScript configuration\n- Compiled and bundled with [esbuild](https://esbuild.github.io/)\n- Commitizen (`-c`)\n- ESLint (`-l`)\n- Prettier (`-p`)\n- Docker support (`-d`)\n- Github Action CI (`-g`)\n- Separate Dev/Prod config files (`-e`)\n\n### Analyzing your bundle\n\nWith esbuild we can generate a `meta.json` file using the `npm run build:meta` or `npm run build:meta:prod` commands,\nwhich we can then can be uploaded to [Bundle Buddy](https://bundle-buddy.com/esbuild) to perform a detailed bundle\nanalasys.\n\nThe Node TS Starter CLI offers additional options such as `--minimal` and `--maximal` for a minimal or maximal project\nsetup, as well as options for linting, Docker support, and config per environment. You can find a full list of options\nby running `node-ts-starter-cli create --help`.\n\n```\nnode-ts-starter-cli create \u003cname\u003e [args]\n\nCreates a new project.\n\nPositionals:\n  name  Project and folder name             [string] [required] [default: \"node-typescript-starter\"]\n\nCreation options\n  -m, --minimal        Project setup without any features and minimal code.                [boolean]\n  -M, --maximal        Project setup with all features.                                    [boolean]\n  -d, --docker         Adds support for Docker.                                            [boolean]\n  -g, --github-action  Adds Github Action CI.                                              [boolean]\n  -l, --eslint         Adds linting configuration.                                         [boolean]\n  -e, --environments   Adds support for config per environment.                            [boolean]\n  -c, --commitizen     Adds commitizen for clean commits.                                  [boolean]\n  -p, --prettier       Adds prettier configuration.                                        [boolean]\n\nOptions:\n      --version  Show version number                                                       [boolean]\n      --help     Show help                                                                 [boolean]\n```\n\n## Support\n\nIf you have any issues or questions, please feel free to open a\n[GitHub issue](https://github.com/FreekMencke/node-ts-starter-cli/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreekmencke%2Fnode-ts-starter-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreekmencke%2Fnode-ts-starter-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreekmencke%2Fnode-ts-starter-cli/lists"}