JSPM

sessionify

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 96
  • Score
    100M100P100Q68320F
  • License

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

Install with npm

npm i sessionify --save

Run tests

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 (c) 2014 Brian Woodward
Released under the MIT license


This file was generated by verb on December 16, 2014.