kevast-file
v0.0.5
Published
File storage for kevast.js
Downloads
3
Maintainers
Readme
kevast-file.js
A file storage for kevast.js.
Installation
Using yarn
yarn add kevast-file
Using npm
npm install kevast-file
Usage
const { Kevast } = require('kevast');
const { KevastFile } = require('kevast-file');
(async () => {
const kevast = new Kevast(new KevastFile('./test.json'));
await kevast.set('key', 'value');
assert(await kevast.get('key') === 'value');
})();