@hyperflame1/database
v1.0.5
Published
Database made by Hyperflame
Downloads
1
Readme
Database package
Info
- This package was made by Hyperflame.
Code
- Lets create a new database.
let db = require('@hyperflame1/database');
db.create('example'); // Creates a new database file named "example.sd"
db.set('example', 'test', 'value'); // Sets the variable "test" to the string "value" in "example.sd"
let test = db.get('example', 'test'); // Gets the database value "test" from "example.sd"
- Lets now delete that database.
db.delete('example');
Conclusion
Thats how one uses the package!
Have a good time using this package!