rollup-plugin-dts generates TypeScript declaration files (.d.ts) from your Rollup bundle. It analyzes your code and creates accurate type definitions, improving the developer experience for users of your library. This plugin simplifies distributing type information alongside your JavaScript code, making your package more valuable and easier to integrate into TypeScript projects. It works seamlessly with Rollup, streamlining the type definition generation process.
Rollup-plugin-dts releases peaked in 2018-19, with frequent updates. Release frequency decreased notably after 2020. There were periods of inactivity, followed by occasional releases, including major version jumps. In 2023, there was a moderate increase in releases, but this stalled again into 2024/25. The most recent releases were in March 2025, so the project is still active, though infrequent.
Rollup-plugin-dts downloads show strong growth from February 2024 to July 2025, peaking at 4.6 million. The growth demonstrates increasing use of the package. August 2025 downloads are at 2.6 million, but are still incomplete for the month.