Socket
Socket
Sign inDemoInstall

@allegiant/jsonstore

Package Overview
Dependencies
1
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @allegiant/jsonstore

Simple disk based json document storage


Version published
Weekly downloads
9
increased by200%
Maintainers
2
Install size
16.7 kB
Created
Weekly downloads
 

Readme

Source

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 © 2017 Allegiant. Distributed under the terms of the MIT License, see LICENSE

Availble via npm or github.

FAQs

Last updated on 11 Jan 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc