asimple db is a db in json. it was writed for simplicity liked quick.db but more easier to install it is simple to install (just fs is require) it is simple to use it is simple to read the data without code
$ npm install asimpledb
const asimpledb = require('asimpledb')
const db = new asimpledb('path/to/json/file',{init:true /* if the file doesnt exist */})
db.set("Data", "Anything you want here")
Write a string
// Output : Data : Anything you want here
db.get("Data")
Return a string
//Output : Anything you want here
return a boolean
db.has("Data")
//Output : true
db.has("Data1")
//Output : false
const asimpledb = require('asimpledb')
const db = new asimpledb('chemin/du/fichier/json',{init:true /* Si le fichier n'existe pas */})
db.set("Data", "Ce que vous voulez ici")
Écris une valeur sous la forme d'une chaine de caracètres