1.2.0 • Published 5 years ago
flumelog-array v1.2.0
flumelog-array
like flumelog-memory without the filesystem
Table of Contents
Install
npm install flumelog-array
Usage
const Log = require('flumelog-array')
const Flume = require('flumedb')
const db = Flume(Log())
db.append({foo: 1}, function (err, seq) {
if (err) throw err
db.get(seq, (err, val) => {
if (err) throw err
console.log(val) // => { foo: 1 }
})
})
Maintainers
Contributing
PRs accepted.
License
ISC © 2018 Fraction LLC