question-cache

JSON →
library 0.7.0 ·javascript maintenance
verified Jun 7, 2026

question-cache is a wrapper around inquirer for creating and reusing prompts in CLI applications, with support for caching answers and conditional questions. Version 0.7.0 is the latest stable release, though development appears to have slowed. Unlike raw inquirer, it provides a fluent API via .set() and .ask(), answer caching, and lifecycle hooks (ask/answer events). It depends on data-store for caching and uses inquirer2 by default.