This is my simple database, A database that uses fs.
npm i github:DaisyDogs07/SimpleDatabase
const Database = require('SimpleDatabase');
const database = new Database();
- Location: The location of the Database file
- Path: the path to the JSON key
- Value: The value to set
- Returns: A reference to the Database
- Path: The path to the JSON key
- Returns: A reference to the Database
- Path: The path to the JSON key
- Returns: The JSON value of the JSON key
- Path: The path to the JSON key
- Returns: boolean
- Path: The scope of where to look
- Fn: The function to test with
- Returns: The value that succeeded in the test, 'undefined' if none were successful
- Path: The scope of where to look
- Fn: The function to test with
- Returns: An array of values that succeeded in the test, 'undefined' if none were successful
- Returns: The JSON object