dataman
v0.0.10
Published
Library for managing data in redis-like storage engines
Downloads
5
Readme
dataman
Library for managing data in redis-like storage engines
Table of contents
Usage
Getting/setting primitive as example
const dataman = require("dataman");
const storage = dataman.storage("memory://");
storage.primitive.set("test", "testValue").then(() => {
storage.primitive.get("test").then(data => {
console.log(data);
});
});
Backends
Redis
Memory (for single instance projects, can be serialized and deserialized into)
Structures
Queue
List
Hashmap
String/Number/Boolean
Set
Installation
npm
npm install dataman --save
yarn
yarn add dataman