1.0.1 • Published 4 years ago

upjson v1.0.1

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
4 years ago

Why? start with why

  • Uses no third party libraries
  • Uses asynchronous methods utilizing the es6 syntax
  • Fast and reliable
  • Easy to use
  • Lightweight and flexible

Getting started

1- Install the package using npm (npm i --save-dev upjson) OR clone this repo 2- Require the package and create your database through the UPJSON_DB class

// Example (uses node.js):
const { UPJSON_DB } = require('upjson');

const db = new UPJSON_DB('your/file/path'); // Don't worry if the file does'nt exist , the init method will fix that

db.init().then(console.log).catch(console.error); // This will create the file if it doesn't exist and makes sure it has the correct format

3- Consult the docs and get going.

Copyright

This work is licensed under the Apache 2.0 license . All rights reserved to their respective owners.