NPM DTS Single File Generator

JSON →
library 1.3.13 ·javascript
verified May 27, 2026

npm-dts is a utility designed to consolidate all TypeScript declaration files (.d.ts) generated for an NPM package into a single index.d.ts file. This enables library developers to distribute bundled JavaScript code while providing comprehensive type definitions, ensuring full type-checking and IDE intellisense for consumers without exposing the original TypeScript source. The current stable version is 1.3.13. While a specific release cadence isn't published, the incremental versioning suggests regular, feature-driven updates. Its primary differentiator is simplifying the distribution of type definitions for compiled libraries, acting as a post-processing step for `tsc` output to create a unified declaration bundle, making library consumption straightforward for TypeScript users. It operates primarily via a command-line interface, requiring `typescript` to be installed in the consuming project's `node_modules`.

total hits 13
actors 5 distinct systems
last hit 1d ago human
GPTBot
2
Script
2
ClaudeBot
1
Humans
2

top countries 🇵🇱 Poland · 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇮🇳 India