kevast-file
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

kevast-file.js

Build Status Coverage Status Dependencies Dev Dependencies Package Version Open Issues MIT License

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');
})();

Package Sidebar

Install

npm i kevast-file

Weekly Downloads

6

Version

0.0.5

License

MIT

Unpacked Size

6.08 kB

Total Files

6

Last publish

Collaborators

  • andie