{"repo":"hebertcisco/ts-npm-package-boilerplate","free":true,"listed":false,"github":"https://github.com/hebertcisco/ts-npm-package-boilerplate","clone":"git clone https://github.com/hebertcisco/ts-npm-package-boilerplate.git","description":"TypeScript NPM Module Boilerplate: https://www.npmjs.com/package/ts-npm-package-boilerplate","language":"JavaScript","stars":55,"topics":["boilerplate","typescript","boilerplate-template","boilerplate-node","npm","boilerplate-npm","npm-package","npm-module","npm-publish","package"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":":package: ts-npm-package-boilerplate TypeScript NPM Module Boilerplate Report Bug · Request Feature Tested on Did you like the project? Please consider a donation to help improve! TypeScript NPM Module Boilerplate ✨ --- Table of Contents - Overview - Features - Prerequisites - Quick Start - Usage - Scripts - Project Structure - CI/CD - Publishing - Contributing - License Overview Starter template for building and publishing typed Node.js libraries to npm using TypeScript, Jest, ESLint, and Prettier. It ships with sensible defaults, CI workflows, coverage upload to Codecov, and a minimal example implementation. Features - TypeScript build with declaration output to lib/ . - Jest test setup with ts-jest and coverage. - ESLint + Prettier configured for TS. - GitHub Actions for tests/coverage and npm publish on release. - Prepublish hooks to lint and test before publishing. Prerequisites - Node.js 18+ (LTS recommended). - npm 9+. Quick Start Option A — Use as template (recommended): 1. Click “Use this template” on GitHub to create your repo. 2. Clone your new repo and install dependencies: Option B — Clone this repository directly: Then update package.json fields: name , version , description , author , repository , bugs , and homepage . Edit the icon on Figma if you want: Usage This template includes a simple Uuid helper as an example. After building, the entry point is lib/index.js with types in lib/index.d.ts . Example: During development (from this repo): Scripts - npm run bu","default_branch":null,"files":null,"tree":[],"storefront":"/r/hebertcisco","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hebertcisco/ts-npm-package-boilerplate/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."}