This package provides TypeScript definitions for the "prompts" library, a user-friendly and customizable JavaScript prompt library. It offers type safety and enhances the developer experience when working with prompts in TypeScript projects. Include this to define types of prompts and enhance code editor IntelliSense when using prompts. This package ensures correct typing for prompts options, responses and methods.
The @types/prompts package saw frequent releases from late 2018 to mid-2021, with several months having multiple versions. After a period of inactivity, releases resumed sporadically from late 2022 through 2023, primarily under the 2.4.x branch. There have been no releases in 2024 or 2025 (up to August 30th). The release pattern suggests inconsistent maintenance or infrequent updates based on external factors.
@types/prompts downloads show a clear upward trend. Starting around 1.3 million in March 2024, downloads consistently grew, peaking at nearly 3.5 million in June 2025. July 2025 saw a slight decrease, and current partial data for August 2025 indicates around 3.1 million downloads.