JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q21391F
  • License MIT

Json File Database

Package Exports

  • mrjsondb

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mrjsondb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Mr Json Database

Mr json database based json file.

Getting Started

This npm package just use fs.

Prerequisites

You must install 'NodeJS' and 'NPM' before useing; You can download them on NodeJS website.

How to use

Step 1 : Install mrjsondb :

npm i mrjsondb

Step 2 : Require package :

 const mrjsondb = require("imrjsondb");
 const db = new mrjsondb(<Database File Path>);

Json Database Look Like :

[
        <Name> : <Value>
]

Step 3 : Use methods :

A) Set data :

db.set(<Name>,<Value>) <Promise>

B) Get data :

db.get(<Name>) <Promise>

C) Update data :

db.update(<Name>,<Value>) <Promise>

D) Remove data :

db.remove(<Name>) <Promise>

Version

This version not LTS we update and upgrade it but now version is 1.1.1@latest .

Authors

Code and design : Mr.MHMirzaei

License

This project is licensed under the MIT License - see the LICENSE file for details