fastmap.db
v1.2.0
Published
Map Database
Downloads
2
Readme
Fast Map DB.
example code:
var MapDB = require("fastmap.db");
var db = new MapDB("test.db")
db.set("test","test");
db.get("test",(data)=>{
console.log(data)
});
functions:
set: function set(key, data) { sets a value }
get: function set(key, callback) { gets a value }
del: function del(key) { deletes value }
keys: function keys() { returns all keys }
close: function close() { closes db }```