@conflux-lib/kvstore
v3.6.2
Published
## Usage
Downloads
5
Readme
Key value store
Usage
const KVStore = require('@conflux-lib/kvstore');
async function main() {
const kvStore = new KVStore({ location: './DATA/LEVEL_DB' });
await kvStore.set('key', 'value');
await kvStore.get('key'); // Buffer.from('value')
await kvStore.del('key');
}