1.0.0 • Published 8 years ago
p-kvstore-fs v1.0.0
p-kvstore-fs
Filesystem based implementation of p-kvstore.
var FSStore = require('p-kvstore-fs');
var store = new FSStore({
datadir: '/path/to/data', // mandatory: the directory used for storage
locktimeoutfactor: 4, // optional: factor between timeout and locktime
timeout: 7500, // optional: timeout to wait for action to complete
locktime: 30000, // optional: time to wait for a file-lock
levels: 5 // optional: directory depth for storage
});
1.0.0
8 years ago