0.1.1 • Published 9 years ago

sessionify v0.1.1

Weekly downloads
60
License
MIT
Repository
github
Last release
9 years ago

sessionify NPM version

Easily bind functions, Event Emitters, and Streams to a session cache.

Install with npm

npm i sessionify --save

Running tests

Install dev dependencies.

npm i -d && npm test

Usage

var sessionify = require('sessionify');

API

sessionify

  • fn {Function|EventEmitter|Stream}: Object to bind to.
  • session {Object}: session-cache object to bind with.
  • context {Object}: Optional context to bind to the sesssion.
  • returns {*}: Bound object

Bind a function, EventEmitter, or Stream to the provided session object with an optional context.

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Brian Woodward

License

Copyright © 2015 Brian Woodward Released under the MIT license


This file was generated by verb-cli on June 15, 2015.