sessionify
Easily bind functions, Event Emitters, and Streams to a session cache.
Last updated 9 years ago by doowb .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install sessionify 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.1.1                                ...           latest (9 years ago)

2 Versions

  • 0.1.1                                ...           9 years ago
  • 0.1.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (4)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE