{"library":"dwaal","type":"library","category":null,"description":"Dwaal is a lightweight, local key-value store for Node.js that enables shared, persisted data across multiple processes on the same machine. It uses Unix sockets for inter-process communication and elects a leader process to manage an in-memory map, with lazy atomic writes (every ~500ms) to disk. Version 0.2.0 is the current stable release; it requires Node >=6.0.0 and is suitable for small-scale, local coordination tasks. Unlike Redis or SQLite, Dwaal is process-embedded and does not require a separate server.","language":"javascript","status":"active","version":"0.2.0","tags":["javascript","storage","database","key-value"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install dwaal","imports":["const Storage = require('dwaal');","const storage = new Storage({ path: '/path' });","storage.get('key').then(console.log);","storage.set('key', 'value').then(() => {});"]},{"cmd":"yarn add dwaal","imports":[]},{"cmd":"pnpm add dwaal","imports":[]}],"homepage":"https://github.com/aholstenson/dwaal#readme","github":"https://github.com/aholstenson/dwaal","docs":null,"changelog":null,"pypi":null,"npm":"dwaal","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}