{"repo":"karmaniverous/npm-package-template-ts","free":true,"listed":false,"github":"https://github.com/karmaniverous/npm-package-template-ts","clone":"git clone https://github.com/karmaniverous/npm-package-template-ts.git","description":"A feature-rich NPM package template for TypeScript projects.","language":"TypeScript","stars":15,"topics":["chai","eslint","lefthook","mocha","npm","nyc","prettier","rollup","template","typescript"],"license":"BSD-3-Clause","category":"cli-tools","readme_excerpt":"TypeScript NPM Package Template 👇 Some of these badges only activate when you publish your package! Writing great TypeScript is only half the battle! You also need to instrument it, format it, lint it, test it, bundle it, document it, and publish it! Getting all of these pieces to work gracefully together is not trivial. This template puts those pieces together in a way that just WORKS, right out of the box, so you can focus on your code. It includes fully-configured support for: ✅ Code authoring with TypeScript. ✅ Inline documentation with TSDoc. ✅ CLI generation with Commander. ✅ Code formatting with Prettier. ✅ Linting with ESLint. ✅ Unit testing with Vitest. ✅ Package pruning with Knip. ✅ Bundling with Rollup (pure ESM). ✅ Publishing with ReleaseIt. ✅ Git hooks with Lefthook. ✅ API documentation generated by TypeDoc. ✅ Recommended extensions & settings wherever appropriate. Getting Started Create a new repo using this template! When you clone it locally, be sure to run: Also, type @recommended into the VSCode Extensions sidebar and install the recommended extensions! Change all repository & personal references in package.json & typedoc.json to reflect your own info. Before your first commit, be sure to reset your project's version number (e.g. to 0.0.0 ) in package.json . To streamline the release process from your desktop, set up a GitHub Personal Access Token and follow the instructions in .env.local.template . Code Authoring You want to write straight TS code without ","default_branch":null,"files":null,"tree":[],"storefront":"/r/karmaniverous","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/karmaniverous/npm-package-template-ts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}