{"id":15743971,"url":"https://github.com/doowb/session-cache","last_synced_at":"2025-08-04T03:37:59.751Z","repository":{"id":23123977,"uuid":"26478652","full_name":"doowb/session-cache","owner":"doowb","description":"Session storage for tasks","archived":false,"fork":false,"pushed_at":"2015-10-16T03:04:43.000Z","size":156,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-03T03:41:56.152Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doowb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-11T09:42:45.000Z","updated_at":"2021-04-12T22:06:05.000Z","dependencies_parsed_at":"2022-08-21T19:30:41.262Z","dependency_job_id":null,"html_url":"https://github.com/doowb/session-cache","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/doowb/session-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fsession-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fsession-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fsession-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fsession-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doowb","download_url":"https://codeload.github.com/doowb/session-cache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doowb%2Fsession-cache/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268645063,"owners_count":24283425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T03:22:16.819Z","updated_at":"2025-08-04T03:37:59.728Z","avatar_url":"https://github.com/doowb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"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\u003e 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 \u0026\u0026 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Fsession-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoowb%2Fsession-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoowb%2Fsession-cache/lists"}