Skip to content
Memory store to store streams
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
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

Something went wrong with that request. Please try again.