1.0.5 • Published 7 years ago

paperdb v1.0.5

Weekly downloads
5
License
Apache-2.0
Repository
gitlab
Last release
7 years ago

PaperDB

PaperDB is a lightweight JSON based data storage system using a key-value system to store object

Installation

For NPM

npm i paperdb

For Yarn

yarn add paperdb

How to use

const PaperDB = require('paperdb');

let db = new PaperDB('data.json');

db.addCollection('myCollection'); // A collection is like a table

let collection = db.findCollection('myCollection'); 

collection.add('myKey', { valueA: 'a', value2: 2}); //key and values can be anything

let value = collection.find('myKey');

Hey ! It's broken

Let's me know : https://gitlab.com/ophelien.duparc/PaperDB/issues

1.0.5

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago