1.5.0 • Published 4 years ago
falls.js v1.5.0
Falls.js v1
Falls.js is a module that help you coding JavaScript
Features
- Database
Installation
npm install falls.js
Usage
Launch of the module
const fallsJs = require("falls.js");
const fallsJsManager = new fallsJs.Manager({
Database: { // defaults
language: "en",
dbName: "database",
dbFolder: "Database",
noBlankData: false,
readable: false
}
})
Features of Database
// set value
db.set("Hello", "World") //{ "Hello", "World" }
// fetch value
db.get("Hello") // "World"
db.fetch("x") // "World"
// fetch all
db.all() // { "Hello", "World" }
// Push value
db.push("a", "hello") // ["hello"]
db.push("a", "world") // ["hello", "world"]
// Unpush value
db.unpush("a", "hello") // ["world"]
// Check value if it exists
db.has("Hello") // true
// Delete Value
db.delete("Hello") // true
//Delete All
db.deleteAll() // true
Thats all features of falls.js it will be improved more and more soon!
Any problem or any bug can be reported in our Discord server.