JSPM

sessionify

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 68
  • Score
    100M100P100Q70683F
  • License MIT

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

Package Exports

  • sessionify

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sessionify) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.