stream-store

0.2.0 • Public • Published

stream-store build status

Storage API for streams

Example

var StreamStore = require("stream-store")
    , store = StreamStore()

var stream = store.get("name") // a named stream!

store.set("name", stream) // stream was set

Example with custom stream generators

var StreamStore = require("stream-store")
    , through = require("through")
    , store = StreamStore(create)

store.get("name") // stream created using create function!

function create() {
    return through()
}

Installation

npm install stream-store

Tests

make test

Contributors

  • Raynos

MIT Licenced

Readme

Keywords

none

Package Sidebar

Install

npm i stream-store

Weekly Downloads

2

Version

0.2.0

License

none

Last publish

Collaborators

  • raynos