node-persist-manager is a TypeScript-based asynchronous storage manager for Node.js that provides a simple key-value persist layer with a file-based backend. It is designed to be lightweight and easy to use for local data persistence in Node.js applications. The current stable version is 2.0.2, released with a focus on modern Node.js runtimes (v20.19+, v22.13+, v24+). It offers a straightforward API with methods like getItem, setItem, removeItem, and clear, and uses a manager pattern for managing storage contexts. Compared to other packages like node-persist or lowdb, it is largely unmaintained and has a very narrow engine support range, making it risky for production use.
npm install node-persist-managerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a storage context, setting, getting, removing, and clearing key-value data asynchronously.
Use Node.js version that satisfies the engine range, or downgrade to a compatible earlier version.
Implement your own backup or error handling for file corruption.
Consider migrating to more actively maintained storage solutions like lowdb or node-persist.
Use `import { NodeStorageManager } from 'node-persist-manager';` instead of `require()`.Import `{ NodeStorageManager }` instead of `NodeStorageManager` as default.Update Node.js to one of the supported versions (e.g., 20.19.x, 22.13.x, or 24.x).
No dependency data recorded yet.