1.2.0 • Published 5 years ago

flumelog-array v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

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

@fraction

Contributing

PRs accepted.

License

ISC © 2018 Fraction LLC

1.2.0

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago