0.0.8 • Published 6 years ago

@allegiant/jsonstore v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

jsonstore

Simple disk based json document storage. Used in some examples in the allegiant app framework.

There be 🐲 here! The API and functionality are being cemented, anything before a 1.0.0 release is subject to change.

Npm Version Build Status Coverage Status

Installation

npm install @allegiant/jsonstore --save

Usage

const { JSONStore } = require('@allegiant/jsonstore');
const store = new JSONStore();

store.update('foo', true);
store.get('foo'); // true
store.destroy('foo') // undefined and destroys the data kept in foo

Copyright & License

Copyright © 2017 Allegiant. Distributed under the terms of the MIT License, see LICENSE

Availble via npm or github.