1.2.0 • Published 6 years ago

flumeview-flumelog-array v1.2.0

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

flumeview-flumelog-array

simple flumeview built on flumelog-array

Table of Contents

Install

npm install flumeview-flumelog-array

Usage

const Log = require('flumelog-array')
const Flume = require('flumedb')
const View = require('flumeview-flumelog-array')

var db = Flume(Log())

db.use('bool', View(x => !!x))

db.append({foo: 1}, function (err, seq) {
  if (err) throw err
  db.bool.get(seq, (err, val) => {
    if (err) throw err
    console.log(val) // => true
  })
})

Maintainers

@fraction

Contributing

PRs accepted.

License

ISC © 2018 Fraction LLC

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.0

6 years ago