XPDB
Ultra-fast persistent database solution with a simple to use API
XPDB is a hyper-simplified wrapper around level, which is a wrapper around LevelUP, which is a wrapper around LevelDB. Sounds complicated, right? Nope.
XPDB is a super easy to use database system that is just like using a Map. Data is stored persistently, quickly, and all methods use Promise
s, which means you can use it with the fancy new async
/await
features! It can store any kind of data, including JSON
.
Installation
npm install --save xpdb
Usage
var XPDB = ;var db = './myDB'; // Promisesdb; // async/awaittry await db; console; // => Hello world! catch err console;
Methods
Coming soon, for now there are JavaDocs, and it should be pretty self-explanatory.