https://github.com/fraction/flumelog-array
like flumelog-memory without the filesystem
https://github.com/fraction/flumelog-array
Last synced: about 1 month ago
JSON representation
like flumelog-memory without the filesystem
- Host: GitHub
- URL: https://github.com/fraction/flumelog-array
- Owner: fraction
- Created: 2018-12-20T19:45:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-19T21:48:22.000Z (about 7 years ago)
- Last Synced: 2025-10-07T04:28:45.694Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flumelog-array
> like flumelog-memory without the filesystem
## Table of Contents
- [Install](#install)
- [Usage](#usage)
- [Maintainers](#maintainers)
- [Contributing](#contributing)
- [License](#license)
## Install
```
npm install flumelog-array
```
## Usage
```js
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](https://github.com/fraction)
## Contributing
PRs accepted.
## License
ISC © 2018 Fraction LLC