{"_id":"session-cache","_rev":"93883","name":"session-cache","description":"Session storage for tasks.","dist-tags":{"latest":"0.2.0"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:31:14.000Z","created":"2014-11-11T09:42:35.167Z","0.2.0":"2015-08-26T01:19:43.026Z","0.1.3":"2014-12-17T03:54:10.993Z","0.1.2":"2014-12-16T20:57:28.789Z","0.1.1":"2014-11-12T19:47:16.651Z","0.1.0":"2014-11-11T09:42:35.167Z"},"users":{},"author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/doowb/session-cache.git"},"versions":{"0.2.0":{"name":"session-cache","description":"Session storage for tasks.","version":"0.2.0","homepage":"https://github.com/doowb/session-cache","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/doowb/session-cache.git"},"bugs":{"url":"https://github.com/doowb/session-cache/issues"},"license":"MIT","files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"continuation-local-storage":"^3.1.1"},"devDependencies":{"mocha":"*","should":"^4.3.0"},"file":["index.js","lib/"],"gitHead":"f2c8c156c79c82d67a996ebbab5d5a0eb9ab80b2","_id":"session-cache@0.2.0","_shasum":"188e47bf8068a0dbfa24c6dd0e0827e9973ce717","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.0","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"188e47bf8068a0dbfa24c6dd0e0827e9973ce717","size":2759,"noattachment":false,"key":"/session-cache/-/session-cache-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/session-cache/download/session-cache-0.2.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"publish_time":1440551983026,"_cnpm_publish_time":1440551983026,"_hasShrinkwrap":false},"0.1.3":{"name":"session-cache","description":"Session storage for tasks.","version":"0.1.3","homepage":"https://github.com/doowb/session-cache","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/doowb/session-cache.git"},"bugs":{"url":"https://github.com/doowb/session-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/doowb/session-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.3.0"},"dependencies":{"continuation-local-storage":"^3.1.1"},"gitHead":"47dda3c68ed31fa2e74ecfb11ab4864d161f2809","_id":"session-cache@0.1.3","_shasum":"195359ed616d9db5468bec14bb84b6fb267e829b","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"195359ed616d9db5468bec14bb84b6fb267e829b","size":3506,"noattachment":false,"key":"/session-cache/-/session-cache-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/session-cache/download/session-cache-0.1.3.tgz"},"directories":{},"publish_time":1418788450993,"_cnpm_publish_time":1418788450993,"_hasShrinkwrap":false},"0.1.2":{"name":"session-cache","description":"Session storage for tasks.","version":"0.1.2","homepage":"https://github.com/doowb/session-cache","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/doowb/session-cache.git"},"bugs":{"url":"https://github.com/doowb/session-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/doowb/session-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.3.0"},"dependencies":{"continuation-local-storage":"^3.1.1"},"gitHead":"c36047caa1c550a73af66e7a5967333930840a79","_id":"session-cache@0.1.2","_shasum":"669475664b67ab5bd3a6aa4830bcc74b470e4d7b","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"669475664b67ab5bd3a6aa4830bcc74b470e4d7b","size":3426,"noattachment":false,"key":"/session-cache/-/session-cache-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/session-cache/download/session-cache-0.1.2.tgz"},"directories":{},"publish_time":1418763448789,"_cnpm_publish_time":1418763448789,"_hasShrinkwrap":false},"0.1.1":{"name":"session-cache","description":"Session storage for tasks.","version":"0.1.1","homepage":"https://github.com/doowb/session-cache","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/doowb/session-cache.git"},"bugs":{"url":"https://github.com/doowb/session-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/doowb/session-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.3.0","verb":"^0.3.0"},"dependencies":{"continuation-local-storage":"^3.1.1"},"gitHead":"53d484a176cf7c080b6ceb0c89ada6dc78528234","_id":"session-cache@0.1.1","_shasum":"70faa59271b4efabd1c6626686efb21cb9749448","_from":".","_npmVersion":"1.4.26","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"70faa59271b4efabd1c6626686efb21cb9749448","size":3289,"noattachment":false,"key":"/session-cache/-/session-cache-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/session-cache/download/session-cache-0.1.1.tgz"},"directories":{},"publish_time":1415821636651,"_cnpm_publish_time":1415821636651,"_hasShrinkwrap":false},"0.1.0":{"name":"session-cache","description":"Session storage for tasks.","version":"0.1.0","homepage":"https://github.com/doowb/session-cache","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git://github.com/doowb/session-cache.git"},"bugs":{"url":"https://github.com/doowb/session-cache/issues"},"licenses":[{"type":"MIT","url":"https://github.com/doowb/session-cache/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"^4.3.0","verb":"^0.3.0"},"dependencies":{"continuation-local-storage":"^3.1.1"},"_id":"session-cache@0.1.0","_shasum":"973decbf21246a6dee9c32cedcecf9f2f4ff3e7e","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"973decbf21246a6dee9c32cedcecf9f2f4ff3e7e","size":3312,"noattachment":false,"key":"/session-cache/-/session-cache-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/session-cache/download/session-cache-0.1.0.tgz"},"directories":{},"publish_time":1415698955167,"_cnpm_publish_time":1415698955167,"_hasShrinkwrap":false}},"readme":"# session-cache [![NPM version](https://badge.fury.io/js/session-cache.svg)](http://badge.fury.io/js/session-cache)  [![Build Status](https://travis-ci.org/doowb/session-cache.svg)](https://travis-ci.org/doowb/session-cache) \n\n> Session storage for tasks.\n\n## Install with [npm](npmjs.org)\n\n```bash\nnpm i session-cache --save\n```\n\n## Running tests\nInstall dev dependencies.\n\n```bash\nnpm i -d && npm test\n```\n\n\n## Usage\n\nExample of using sessions to pass data between gulp tasks.\n\n```js\nvar session = require('session-cache')('your app');\n```\n\n## API\n### [.createSession](./index.js#L36)\n\nCreate a session with the given `name`\n\n* `name` **{String}**    \n* `returns`: {Object}  \n\n```js\nvar session = require('session')('your app');\n```\n\n### [.bind](./index.js#L82)\n\nBind a function to the current Session context.\n\n* `fn` **{Function}**: Function to bind.    \n\n```js\nfunction fn (options, next) {\n  next();\n}\nsession.bind(fn);\n```\n\n### [.bindEmitter](./index.js#L96)\n\nBind an EventEmitter or Stream to the current Session context.\n\n* `emitter` **{EventEmitter|Stream}**: EventEmitter or Stream to bind.    \n\n```js\nvar stream = through.obj();\nsession.bindEmitter(stream);\n```\n\n### [.set](./index.js#L107)\n\n* `key` **{String}**    \n* `value` **{*}**    \n* `returns` **{*}**: Returns the set value.  \n\nAssign `value` on the current session to `key`.\n\n### [.get](./index.js#L122)\n\n* `key` **{String}**    \n* `returns` **{*}**: Value of the key or undefined  \n\nGet the stored value of `key` from the current session.\n\n## Contributing\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/doowb/session-cache/issues)\n\n## Author\n\n**Brian Woodward**\n \n+ [github/doowb](https://github.com/doowb)\n+ [twitter/doowb](http://twitter.com/doowb) \n\n## License\nCopyright © 2015 Brian Woodward\nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 25, 2015._\n","_attachments":{},"homepage":"https://github.com/doowb/session-cache","bugs":{"url":"https://github.com/doowb/session-cache/issues"},"license":"MIT"}