node-persist icon indicating copy to clipboard operation
node-persist copied to clipboard

Super-easy persistent data structures in Node.js

Results 22 node-persist issues
Sort by recently updated
recently updated
newest added

Version: v9.5.0 Platform: Linux Node-persist version: 3.0.1 Reading json files stored under the storage folder, and getting an error intermittently. (node:1127) UnhandledPromiseRejectionWarning: Error: EMFILE: too many open files, open '.node-persist/storage/#####'

I am using node-persist module in my application to store the tokens. `setItemSync("userResourceToken", "someToken...")` As per understanding this token will be shared across multiple sessions. Is that right? If above...

I am trying to use node-persist, but nothing actually gets save to disk, so it is useless if I want to re-use the data from another run later.

If I call setItem does it lock the given key for reading? I have application where one process writes data into the database and another reads and removes when it...

Hi, I run nodejs on ubuntu with pm2 (in cluster mode); When I persist data (probably on one cluster). I can't access it (probably trying to access it from the...

This is my assumption, but I wanted to ask anyway: I'm assuming that when you run initSync() that you get a read from disk into memory. And then if you...

enhancement

This change throws an error if a single instance of `LocalStorage` or the global instance is initialised more than once. This helps users avoid accidentally initialising multiple times in both...

3.0.0 Changelong entry sais that all the `*Sync` functions were removed

My Node.js application reports insufficient memory. The timing seems to coincide with the TTL (Time to Live) of node-persist, and when I inspect the source code, I observe that node-persist...

bug

Can it store binary data(buffer)?