Memory store to store streams
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.travis.yml
LICENCE
Makefile
README.md
index.js
package.json
testem.json

README.md

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