const Datastore = require("datastore-json").init();
const Storage = Datastore.new("data"); // create a new datastore
Storage.set("some key", "some value"); // without permanent storage
Storage.set("some key", "some value").save(); // with permanent storage
var value = Storage.get("some key"); // return a value