{"_id":"egg-session","_rev":"941539","name":"egg-session","description":"session plugin for egg","dist-tags":{"2.x":"2.2.0","latest":"3.3.0","release-3.x":"3.3.0"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"eggjs-admin","email":"fengmk2+eggjs@gmail.com"}],"time":{"modified":"2026-09-14T01:23:42.000Z","created":"2016-05-26T09:11:14.723Z","3.3.0":"2021-03-23T08:02:54.506Z","3.2.0":"2020-05-12T06:41:49.609Z","2.2.0":"2018-01-09T10:58:15.614Z","3.1.0":"2018-01-09T10:55:47.054Z","3.0.0":"2017-11-09T06:12:51.728Z","2.1.1":"2017-06-04T14:23:12.190Z","2.1.0":"2017-03-02T10:23:30.800Z","2.0.0":"2017-02-28T13:00:11.726Z","1.1.0":"2016-11-17T05:47:53.764Z","1.0.0":"2016-11-03T10:17:24.165Z","0.0.2":"2016-07-14T09:45:56.065Z","0.0.1":"2016-05-26T09:11:14.723Z"},"users":{},"author":{"name":"dead_horse"},"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-session.git"},"versions":{"3.3.0":{"name":"egg-session","version":"3.3.0","description":"session plugin for egg","eggPlugin":{"name":"session"},"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-session.git"},"keywords":["egg","egg-plugin","eggPlugin","session","cookie"],"dependencies":{"koa-session":"^6.0.0"},"devDependencies":{"autod":"^2.10.1","egg":"next","egg-bin":"^4.3.5","egg-ci":"^1.8.0","egg-mock":"^3.13.1","egg-redis":"^1.0.1","eslint":"^4.10.0","eslint-config-egg":"^5.1.1","mz-modules":"^2.0.0","supertest":"^3.0.0"},"engines":{"node":">=8.0.0"},"scripts":{"lint":"eslint .","test":"npm run lint -- --fix && egg-bin test","test-local":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"8, 10, 12","services":"redis-server","type":"travis"},"author":{"name":"dead_horse"},"gitHead":"1ee915bf4e1983c5f34f3bfbff3366b0b210b485","bugs":{"url":"https://github.com/eggjs/egg-session/issues"},"homepage":"https://github.com/eggjs/egg-session#readme","_id":"egg-session@3.3.0","_nodeVersion":"14.15.1","_npmVersion":"6.11.3","dist":{"integrity":"sha512-RCPWHLWi0Ak+xI/zXN71Wpva/wsqevmKDvkOGk2uu5UdwRHw5lKuTtYm161NMDGZi6lvcnzR2lN7xRcDuhGiIw==","shasum":"401b52da2515623ea7e41cfc6a857db5f5138aac","tarball":"http://registry-npm.ywwl.com/egg-session/download/egg-session-3.3.0.tgz","fileCount":8,"unpackedSize":11215,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWaCuCRA9TVsSAnZWagAAYiQP/Ay03WP8X07jRGLfdLJv\nH3ue41zvEO8b1JyG9h8KnJmlBu+kXRsxRfKPVyLHizwTih0qCHupV64QIS3f\n46BzAaj8Gb7VLmJ8eJvV5im5u8YAk6OjyVVVY5n9stP4dTusjGPFoRiS/rxz\nasorfBOk6zpyp577QOygQ2W9Og5SG2gIkP0O0YttEw+SYTWmRy4MMni/ElQq\nFSYfIWCfNyWaTBlDGiuL4yVcJpB/M5OBincOTzwJVzfNWwkZI8ykJkaMp8E9\nVlp0XL478B3QVBvkfLAKv9CQE8wmYJTxBD1CHuHKP8E1MaW8Xb6oVgzhFE4Z\nHIWiJ01O7QMe0zL5nhNVLWW3ok+aIikJVBXcmBK8BgQAwZ67FthXCGLzZ9/A\nROuPBSZKGIigSVFRx94xjXTgeiAmz2xbsj9tZ0JwqxeaWxDRRzyDtpx3dPky\nUc0Ci+nP9QxGSG2+HvADWk0mACVQxakq0LfJWm20xVT8HCJzX3Ke3D+hJMxj\nfGzI9p2pxRsEal10C+NQM8JYL8ygzn9m/af05MGGp5ehOkGUksQDUmhSCIg8\n5Gz5iA4J6ZGcSCF0W3jlGXukjyvdh68Nf+6BOTE3R0E0DKJBe8fek8blQIGF\naZWy1pbUbJmX1WNumAT0Qg/6VJUC1ahPBaXbS7PUTxgsNr9+u4bdneRSWj7d\nraM2\r\n=nONq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFlD8XyTRsWrhxox2GRfDCCqTy6/Fs4JON9eerVaVXowIhAJP4paZUj0NqC/HZSNqWD+Td/0X5yNFnVeSAvoxJO35c"}],"size":4551,"noattachment":false,"key":"/egg-session/-/egg-session-3.3.0.tgz"},"_npmUser":{"name":"popomore","email":"sakura9515@gmail.com"},"directories":{},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"eggjs-admin","email":"fengmk2+eggjs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-session_3.3.0_1616486574301_0.7419064128758863"},"_hasShrinkwrap":false,"publish_time":1616486574506,"_cnpm_publish_time":1616486574506},"3.2.0":{"name":"egg-session","version":"3.2.0","description":"session plugin for egg","eggPlugin":{"name":"session"},"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-session.git"},"keywords":["egg","egg-plugin","eggPlugin","session","cookie"],"dependencies":{"koa-session":"^6.0.0"},"devDependencies":{"autod":"^2.10.1","egg":"next","egg-bin":"^4.3.5","egg-ci":"^1.8.0","egg-mock":"^3.13.1","egg-redis":"^1.0.1","eslint":"^4.10.0","eslint-config-egg":"^5.1.1","mz-modules":"^2.0.0","supertest":"^3.0.0"},"engines":{"node":">=8.0.0"},"scripts":{"lint":"eslint .","test":"npm run lint -- --fix && egg-bin test","test-local":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"8, 10, 12","services":"redis-server","type":"travis"},"author":{"name":"dead_horse"},"gitHead":"3fd2bf2fcdf03ee23d50f0706424cc9926f7ccf2","bugs":{"url":"https://github.com/eggjs/egg-session/issues"},"homepage":"https://github.com/eggjs/egg-session#readme","_id":"egg-session@3.2.0","_nodeVersion":"10.16.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-YzwqYJoDZLzsMuev+yYPgpeQh2BSNImJtsoJ3W5IcvB0RU1Cmy3I805KMUY+Hsv3jc17AqyCFPUQIBLIO1WEYg==","shasum":"f02323516ba63c72a5d79dcbaa13df274ec3f9cd","tarball":"http://registry-npm.ywwl.com/egg-session/download/egg-session-3.2.0.tgz","fileCount":8,"unpackedSize":10571,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeukUtCRA9TVsSAnZWagAAqUgQAIimFQsg00wJy2Bz/rQC\nEmUdpVIMaeMaBz9MJSwMgx6mj6NwmTj1YcmSIJdeIYHdxk4L1db1lwwGO3sy\nEit3qJKvlVc66/0PdI/KxpXTL/+lgSSRstpxpmO2Jcau74GZuggvLcclPTYa\nnD4tBinwLDzPG3SKVGVeGKSxXfYT2NHKdDOB4+w3FOGTkzHpmVGKWlc9SYWN\n/qf5C83Cl4ZH3MYo0yqmy8eIc477PpjvN5Ak8JJBGrniu/oa2jtpkiw6Mcr5\nCii5TPU2l3aqGF18PbfMfN9oL963Ezo+AYLYkXfUjEzXWQ370dOWNXEYreCv\nke/rmUkiOjTZTu/URLa/oB+0tTpCbfpQ2hjLXhwI9pJx/3Ru+/kpTXxMWNL0\n1qLFwvGXALYcnMM9NZIkNxVtbjLETyYf5+VHz34dq7lbUc+pyKROTIIfBGBy\n5EQJ4rJH3iJsqKICYDKqXq6UNaZa4pZhZnMfOUpO6NWS/Xny49X001c8zuP9\nIANZn12SvQ0mjirBdsPOvT1P0M7NljXwXH3601nLYeVd2Ivd1odrXnbTJjPZ\nIDN4UsVmYv+nXmiSEaPk10jrOKT3tyMpeJvP3hIJ8j+rByIjf8OZRIyzGze1\nS6mReFPfnDB6Olok5ABpZPsYTIyHCFbv8WQ+cW8JvWJPOU4PkxFj1Ri4XCXc\ncat2\r\n=TxuY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWfgPEIsGs40Z5yE14JRJ5Pb3I1PrXH7D3c76nO+n4TAIhAJxUoGA3E7nqKL7mCbE0QuCPvCMJsiakL6/HNVkH1KLc"}],"size":4340,"noattachment":false,"key":"/egg-session/-/egg-session-3.2.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-session_3.2.0_1589265709456_0.291557077951039"},"_hasShrinkwrap":false,"publish_time":1589265709609,"_cnpm_publish_time":1589265709609},"2.2.0":{"name":"egg-session","version":"2.2.0","description":"session plugin for egg","eggPlugin":{"name":"session"},"files":["config","app","app.js"],"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-session.git"},"keywords":["egg","egg-plugin","eggPlugin","session","cookie"],"dependencies":{"koa-session":"^4.7.0"},"devDependencies":{"autod":"^2.7.1","egg":"^1.0.0-rc.1","egg-bin":"^2.2.3","egg-ci":"^1.2.0","egg-mock":"^3.0.1","egg-redis":"^1.0.1","eslint":"^3.16.1","eslint-config-egg":"^3.2.0","mz-modules":"^1.0.0","supertest":"^3.0.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","test":"npm run lint -- --fix && egg-bin test","test-local":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"6, 7","services":"redis-server","type":"travis"},"publishConfig":{"tag":"2.x"},"author":{"name":"dead_horse"},"gitHead":"09d01adfaa637199183487d12d541e011db56767","bugs":{"url":"https://github.com/eggjs/egg-session/issues"},"homepage":"https://github.com/eggjs/egg-session#readme","_id":"egg-session@2.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"integrity":"sha512-JiGlTezhcix/Lqcg77BK15gzu9IJTJVzPdA3jVeX9xGTGUBY3COETb0KPWUXME//vgp933u7/m8CjxTNI+1qQA==","shasum":"1f207d1989353c9017310e2cd6424c2cdf324c01","tarball":"http://registry-npm.ywwl.com/egg-session/download/egg-session-2.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKBtGMhzlMFytTV6nJ+jjt1LY2oRWrcxAHp8xfoO74jQIhAJQNJIMb1/v9KNDGFAFw/mb1P9caM9bwoC2GJK2aif5w"}],"size":3715,"noattachment":false,"key":"/egg-session/-/egg-session-2.2.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-session-2.2.0.tgz_1515495495536_0.11787221278063953"},"directories":{},"publish_time":1515495495614,"_cnpm_publish_time":1515495495614},"3.1.0":{"name":"egg-session","version":"3.1.0","description":"session plugin for egg","eggPlugin":{"name":"session"},"files":["config","app","app.js"],"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-session.git"},"keywords":["egg","egg-plugin","eggPlugin","session","cookie"],"dependencies":{"koa-session":"^5.7.0"},"devDependencies":{"autod":"^2.10.1","egg":"next","egg-bin":"^4.3.5","egg-ci":"^1.8.0","egg-mock":"^3.13.1","egg-redis":"^1.0.1","eslint":"^4.10.0","eslint-config-egg":"^5.1.1","mz-modules":"^2.0.0","supertest":"^3.0.0"},"engines":{"node":">=8.0.0"},"scripts":{"lint":"eslint .","test":"npm run lint -- --fix && egg-bin test","test-local":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"8, 9","services":"redis-server","type":"travis"},"author":{"name":"dead_horse"},"gitHead":"2609381d798314f528a45c0a60cd5ff5d007ce00","bugs":{"url":"https://github.com/eggjs/egg-session/issues"},"homepage":"https://github.com/eggjs/egg-session#readme","_id":"egg-session@3.1.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"integrity":"sha512-ra0TLBj0cpcsXqqApDbPZ5+wZamJ0yNMEQIo/K3ZuDAzVOZ27cBqCqttBKk5pec8l/eLPP2uG5dz//O3DyocuA==","shasum":"5b3baf0f6072fa55b5d13be2e6cbba17e2553bfe","tarball":"http://registry-npm.ywwl.com/egg-session/download/egg-session-3.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDvlHMj0O45RhOVO/ZTIc40c2rxgBH6YMwFGtgFkdkOXAiEApDqnWA7FvZ0AB78SRaeVRSRbZ7RGIFiZYpvYbArwwP4="}],"size":3894,"noattachment":false,"key":"/egg-session/-/egg-session-3.1.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-session-3.1.0.tgz_1515495346989_0.14920076075941324"},"directories":{},"publish_time":1515495347054,"_cnpm_publish_time":1515495347054},"3.0.0":{"name":"egg-session","version":"3.0.0","description":"session plugin for egg","eggPlugin":{"name":"session"},"files":["config","app","app.js"],"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-session.git"},"keywords":["egg","egg-plugin","eggPlugin","session","cookie"],"dependencies":{"koa-session":"^5.5.0"},"devDependencies":{"autod":"^2.10.1","egg":"next","egg-bin":"^4.3.5","egg-ci":"^1.8.0","egg-mock":"^3.13.1","egg-redis":"^1.0.1","eslint":"^4.10.0","eslint-config-egg":"^5.1.1","mz-modules":"^2.0.0","supertest":"^3.0.0"},"engines":{"node":">=8.0.0"},"scripts":{"lint":"eslint .","test":"npm run lint -- --fix && egg-bin test","test-local":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"8, 9","services":"redis-server","type":"travis"},"author":{"name":"dead_horse"},"gitHead":"49e57edea83b47fba5fe3936138087f33ebc2163","bugs":{"url":"https://github.com/eggjs/egg-session/issues"},"homepage":"https://github.com/eggjs/egg-session#readme","_id":"egg-session@3.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"integrity":"sha512-PNn6aJtFuARoEDyiO5VRNVUe7+ZDUzHgd6/G0HHBWE2P3xqQuMXhtQcmle05ywQGgF7QNRa9laHNWOR8DWzwmw==","shasum":"19f42f95f7bf0e10283779bad4798635291563eb","tarball":"http://registry-npm.ywwl.com/egg-session/download/egg-session-3.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHpHyIlTZFfrRYIqign0Nkg9uUhX/P6ptADxEMAEtOhDAiEA0Sl9w6rN6f++S6xr/nD4baysjyQap5idUY5ky8eWb4E="}],"size":3643,"noattachment":false,"key":"/egg-session/-/egg-session-3.0.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-session-3.0.0.tgz_1510207971548_0.4637005908880383"},"directories":{},"publish_time":1510207971728,"_cnpm_publish_time":1510207971728},"2.1.1":{"name":"egg-session","version":"2.1.1","description":"session plugin for egg","eggPlugin":{"name":"session"},"files":["config","app","app.js"],"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-session.git"},"keywords":["egg","egg-plugin","eggPlugin","session","cookie"],"dependencies":{"koa-session":"^4.0.0"},"devDependencies":{"autod":"^2.7.1","egg":"^1.0.0-rc.1","egg-bin":"^2.2.3","egg-ci":"^1.2.0","egg-mock":"^3.0.1","egg-redis":"^1.0.1","eslint":"^3.16.1","eslint-config-egg":"^3.2.0","mz-modules":"^1.0.0","supertest":"^3.0.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","test":"npm run lint -- --fix && egg-bin test","test-local":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"6, 7","services":"redis-server","type":"travis"},"author":{"name":"dead_horse"},"gitHead":"bd1eca6ed6cdc4b3414c37667738a7c2069feedb","bugs":{"url":"https://github.com/eggjs/egg-session/issues"},"homepage":"https://github.com/eggjs/egg-session#readme","_id":"egg-session@2.1.1","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"popomore","email":"sakura9515@gmail.com"},"dist":{"integrity":"sha512-n04s5qFUBqPxzkyvRN14MLfKN24810TVIivDy8iOTmF/7uQdyceSsixvSr3bIYwiPXg/bijg2imjs8LGLCLHtQ==","shasum":"0b8208b9a05eb5367c60e214b6a0061feb467d94","tarball":"http://registry-npm.ywwl.com/egg-session/download/egg-session-2.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9dGKJUlmdTm2FTak5crnTw63KQIbNqfdUJ+0Qn7sMJQIgTvHq4S2nkNhU7g/I+J6rhLHjcipOVZNnBBOWKKmVpWU="}],"size":3469,"noattachment":false,"key":"/egg-session/-/egg-session-2.1.1.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/egg-session-2.1.1.tgz_1496586192069_0.980941146844998"},"directories":{},"publish_time":1496586192190,"_cnpm_publish_time":1496586192190},"2.1.0":{"name":"egg-session","version":"2.1.0","description":"session plugin for egg","eggPlugin":{"name":"session"},"files":["config","app","app.js"],"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-session.git"},"keywords":["egg","egg-plugin","eggPlugin","session","cookie"],"dependencies":{"koa-session":"^4.0.0"},"devDependencies":{"autod":"^2.7.1","egg":"^1.0.0-rc.1","egg-bin":"^2.2.3","egg-ci":"^1.2.0","egg-mock":"^3.0.1","egg-redis":"^1.0.1","eslint":"^3.16.1","eslint-config-egg":"^3.2.0","mz-modules":"^1.0.0","supertest":"^3.0.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","test":"npm run lint -- --fix && egg-bin test","test-local":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"6, 7","services":"redis-server","type":"travis"},"author":{"name":"dead_horse"},"gitHead":"4f713d7bcd37613932185eb8092294660929c719","bugs":{"url":"https://github.com/eggjs/egg-session/issues"},"homepage":"https://github.com/eggjs/egg-session#readme","_id":"egg-session@2.1.0","_shasum":"06ad740105b7b56fa4f2dbf760db2669a3678d7e","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"06ad740105b7b56fa4f2dbf760db2669a3678d7e","tarball":"http://registry-npm.ywwl.com/egg-session/download/egg-session-2.1.0.tgz","integrity":"sha512-dII3dDMdvo/FH1P7aofdFP3B3fERy+0/j+kNvCEBIk1AKXFvx5o8wx2hh1VZhh3Jyo5oavLE7qwEHNjQEEE30g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAPoTz5qWY8rQfccNapceGqqh7HfAHE3t4hrTki0XnXpAiEA/fBVJd+Fnk56ZlOUtHFchsl2dgeh8ykj83rVV6DEHOY="}],"size":3436,"noattachment":false,"key":"/egg-session/-/egg-session-2.1.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/egg-session-2.1.0.tgz_1488450208961_0.6267498270608485"},"directories":{},"publish_time":1488450210800,"_cnpm_publish_time":1488450210800},"2.0.0":{"name":"egg-session","version":"2.0.0","description":"session plugin for egg","eggPlugin":{"name":"session"},"files":["config","app","app.js"],"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-session.git"},"keywords":["egg","egg-plugin","eggPlugin","session","cookie"],"dependencies":{"koa-session":"^4.0.0"},"devDependencies":{"autod":"^2.7.1","egg":"^1.0.0-rc.1","egg-bin":"^2.2.3","egg-ci":"^1.2.0","egg-mock":"^3.0.1","egg-redis":"^1.0.1","eslint":"^3.16.1","eslint-config-egg":"^3.2.0","mz-modules":"^1.0.0","supertest":"^3.0.0"},"engines":{"node":">=6.0.0"},"scripts":{"lint":"eslint .","test":"npm run lint -- --fix && egg-bin test","test-local":"egg-bin test","cov":"egg-bin cov","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"6, 7","services":"redis-server","type":"travis"},"author":{"name":"dead_horse"},"gitHead":"692db3b2da2bef07ff935501ff4af06a8c8397ff","bugs":{"url":"https://github.com/eggjs/egg-session/issues"},"homepage":"https://github.com/eggjs/egg-session#readme","_id":"egg-session@2.0.0","_shasum":"1bc5d87189d135df2f2d2fb08ef808bd6160724c","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"dist":{"shasum":"1bc5d87189d135df2f2d2fb08ef808bd6160724c","tarball":"http://registry-npm.ywwl.com/egg-session/download/egg-session-2.0.0.tgz","integrity":"sha512-H7n4lRuf2MaLpBXmrkOYCC5eRTNc5frIdBYKoWLsMK1jhUPIyjVGjp1p3NyMo4nkU2skxl6owZSDynH2H/MRIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDquARufEeep9a5SH8hGTlgSiPk175Tn2o2XCdgdKPklQIgTs2GTyWc1VkdCGqBuAyUymjiNc61rlbPzBtUXKzzw84="}],"size":3252,"noattachment":false,"key":"/egg-session/-/egg-session-2.0.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/egg-session-2.0.0.tgz_1488286811505_0.4845045721158385"},"directories":{},"publish_time":1488286811726,"_cnpm_publish_time":1488286811726},"1.1.0":{"name":"egg-session","version":"1.1.0","description":"session plugin for egg","eggPlugin":{"name":"session"},"files":["config","app","app.js"],"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-session.git"},"keywords":["egg","plugin","session","cookie"],"dependencies":{"koa-compose":"^2.5.1","koa-session":"^3.4.0"},"devDependencies":{"autod":"^2.7.1","egg":"*","egg-bin":"^1.7.0","egg-ci":"^1.0.3","egg-mock":"^1.1.0","eslint":"^3.9.1","eslint-config-egg":"^3.1.0","intelli-espower-loader":"^1.0.1","power-assert":"^1.4.2","should":"^11.1.1","supertest":"^2.0.1"},"engines":{"node":">=4.0.0"},"scripts":{"lint":"eslint .","test":"npm run lint -- --fix&& egg-bin test -r intelli-espower-loader","cov":"egg-bin cov -r intelli-espower-loader","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"4, 6, 7"},"author":{"name":"dead_horse"},"gitHead":"6baa9fff10812ac28e2fdf41d1b37cd06024ccb9","bugs":{"url":"https://github.com/eggjs/egg-session/issues"},"homepage":"https://github.com/eggjs/egg-session#readme","_id":"egg-session@1.1.0","_shasum":"9cf4df9d5c5c82fcf9276f76700bdf910e117b6c","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"dist":{"shasum":"9cf4df9d5c5c82fcf9276f76700bdf910e117b6c","tarball":"http://registry-npm.ywwl.com/egg-session/download/egg-session-1.1.0.tgz","integrity":"sha512-zL69Lbfj0wPpRT7nfgcOlVOxHzDTo7wAY1BgE/lCPKuTav2bv7OI4t7O9+IISZtAEx/ThDqxT4LpcIFi8w+C/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJ4YsL42S5k7r3wrLoglJU4c2lqgGKwEGkOZKerlIu0wIgRTzRTmfCZC3krE60Hy8LIB8to8Jab6C7OvNTO8lsWqU="}],"size":2562,"noattachment":false,"key":"/egg-session/-/egg-session-1.1.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/egg-session-1.1.0.tgz_1479361673216_0.7356142981443554"},"directories":{},"publish_time":1479361673764,"_cnpm_publish_time":1479361673764},"1.0.0":{"name":"egg-session","version":"1.0.0","description":"session plugin for egg","eggPlugin":{"name":"session"},"files":["config","app","app.js"],"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-session.git"},"keywords":["egg","plugin","session","cookie"],"dependencies":{"koa-session":"^3.4.0"},"devDependencies":{"autod":"^2.7.1","egg":"*","egg-bin":"^1.7.0","egg-ci":"^1.0.3","egg-mock":"^1.1.0","eslint":"^3.9.1","eslint-config-egg":"^3.1.0","should":"^11.1.1","supertest":"^2.0.1"},"engines":{"node":">=4.0.0"},"scripts":{"test":"npm run lint -- --fix&& npm run test-local","test-local":"egg-bin test","cov":"egg-bin cov","lint":"eslint .","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"4, 6, 7"},"author":{"name":"dead_horse"},"gitHead":"783b5a758adba76d6e923a673f6761242f5b8a0e","bugs":{"url":"https://github.com/eggjs/egg-session/issues"},"homepage":"https://github.com/eggjs/egg-session#readme","_id":"egg-session@1.0.0","_shasum":"7d05bca278af3821b6402ddcc0f7e4e0c90bef25","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.0","_npmUser":{"name":"atian25","email":"atian25@qq.com"},"dist":{"shasum":"7d05bca278af3821b6402ddcc0f7e4e0c90bef25","tarball":"http://registry-npm.ywwl.com/egg-session/download/egg-session-1.0.0.tgz","integrity":"sha512-XAcoDSaeHiGTrCbEC5t7D+PQSTHar2QLjc126TFPEDcpEZxEvZRwwi9wowxsFPymdMDYX/fvPBuht08t4dogXg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYKUk83FO+RGwSaS3M0zDxYNM2SiK4i0GmWisIfZjCAgIgK0tARonyGzzX8ZjbVWN4CLDo4ZoukOMlY1qbzlopsM0="}],"size":2177,"noattachment":false,"key":"/egg-session/-/egg-session-1.0.0.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"eggjs","email":"fengmk2+eggjs@gmail.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/egg-session-1.0.0.tgz_1478168243654_0.30945004522800446"},"directories":{},"publish_time":1478168244165,"_cnpm_publish_time":1478168244165},"0.0.2":{"name":"egg-session","version":"0.0.2","description":"session plugin for egg","eggPlugin":{"name":"session"},"files":["config","app","app.js"],"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-session.git"},"keywords":["egg","plugin","session","cookie"],"dependencies":{"koa-session":"^3.3.1"},"devDependencies":{"autod":"^2.6.1","egg-bin":"^1.0.2","egg-ci":"^1.0.2","eslint":"^3.0.1","eslint-config-egg":"^3.1.0","should":"^9.0.2","supertest":"^1.2.0"},"engines":{"node":">=4.0.0"},"scripts":{"test":"npm run lint && npm run test-local","test-local":"egg-bin test","cov":"egg-bin cov","lint":"eslint --ext js . --fix","ci":"npm run lint && npm run cov","autod":"autod"},"ci":{"version":"4, 6"},"author":{"name":"dead_horse"},"gitHead":"c9b1929126d9dca38049827a8db64abc154a4781","bugs":{"url":"https://github.com/eggjs/egg-session/issues"},"homepage":"https://github.com/eggjs/egg-session#readme","_id":"egg-session@0.0.2","_shasum":"e5aefebc74e2ec1eab6123dba74615204b485c62","_from":".","_npmVersion":"3.10.3","_nodeVersion":"4.4.7","_npmUser":{"name":"dead_horse","email":"dead_horse@qq.com"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"},{"name":"dead_horse","email":"dead_horse@qq.com"},{"name":"fengmk2","email":"fengmk2@gmail.com"},{"name":"popomore","email":"sakura9515@gmail.com"}],"dist":{"shasum":"e5aefebc74e2ec1eab6123dba74615204b485c62","tarball":"http://registry-npm.ywwl.com/egg-session/download/egg-session-0.0.2.tgz","integrity":"sha512-WHJok6xOzdIGmly9HtdIbPXldEZuYQjzXNtdAAxEhJWWRCBOKEo1U2AGaoRdgUuHJCEy3718NUA/+xzAxazsoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn2gKnQKZJPrTPpgh+WIkZxEw+KmlcdDEABuKBVsb4SQIgWAFKzfNDnUX3oQBkNq2PM04Cn5thDb971DHnRT243Rg="}],"size":2093,"noattachment":false,"key":"/egg-session/-/egg-session-0.0.2.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/egg-session-0.0.2.tgz_1468489554051_0.4646400869823992"},"directories":{},"publish_time":1468489556065,"_cnpm_publish_time":1468489556065},"0.0.1":{"name":"egg-session","version":"0.0.1","description":"egg plugin <egg-session>","keywords":["egg","eggjs","egg-plugin"],"homepage":"https://github.com/eggjs/egg-session","license":"MIT","author":{"name":"eggjs"},"contributors":[{"name":"TZ","email":"atian25@qq.com"},{"name":"popomore","email":"sakura9515@gmail.com"},{"name":"fengmk2","email":"m@fengmk2.com"},{"name":"dead-horse","email":"heyiyu.deadhorse@gmail.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/eggjs/egg-session.git"},"bugs":{"url":"https://github.com/eggjs/egg-session/issues"},"_id":"egg-session@0.0.1","scripts":{},"_shasum":"226c2d43e42588f5daeaecf6705bee7eb162f4c2","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.4","_npmUser":{"name":"atian25","email":"atian25@qq.com"},"dist":{"shasum":"226c2d43e42588f5daeaecf6705bee7eb162f4c2","tarball":"http://registry-npm.ywwl.com/egg-session/download/egg-session-0.0.1.tgz","integrity":"sha512-FWP8pcicTaRNyTilSkeWcc5u0lklbdBdn6acWO2zP+RG7N8/mPkFakT2UaVNCLak4z5GmzKtY3LkgKISJ9F6Tw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOrKkvwDYnB/e5vEVult20TWlQMzLeuFcope2lcrd06gIhANMwoQahIbsm9lVRm0PstIX9hKZkaVP04ByYNLaJcXoo"}],"size":421,"noattachment":false,"key":"/egg-session/-/egg-session-0.0.1.tgz"},"maintainers":[{"name":"atian25","email":"atian25@qq.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/egg-session-0.0.1.tgz_1464253872059_0.7546663964167237"},"directories":{},"publish_time":1464253874723,"_cnpm_publish_time":1464253874723}},"readme":"# egg-session\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/egg-session.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/egg-session\n[travis-image]: https://img.shields.io/travis/eggjs/egg-session.svg?style=flat-square\n[travis-url]: https://travis-ci.org/eggjs/egg-session\n[codecov-image]: https://codecov.io/github/eggjs/egg-session/coverage.svg?branch=master\n[codecov-url]: https://codecov.io/github/eggjs/egg-session?branch=master\n[david-image]: https://img.shields.io/david/eggjs/egg-session.svg?style=flat-square\n[david-url]: https://david-dm.org/eggjs/egg-session\n[snyk-image]: https://snyk.io/test/npm/egg-session/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/egg-session\n[download-image]: https://img.shields.io/npm/dm/egg-session.svg?style=flat-square\n[download-url]: https://npmjs.org/package/egg-session\n\nSession plugin for egg, based on [koa-session](https://github.com/koajs/session).\n\n## Install\n\n```bash\n$ npm i egg-session --save\n```\n\n## Usage\n\negg-session is a built-in plugin in egg and enabled by default.\n\n```js\n// {app_root}/config/plugin.js\nexports.session = true; // enable by default\n```\n\n### External Store\n\negg-session support external store, you can store your sessions in redis, memcached or other databases.\n\nFor example, if you want to store session in redis, you must:\n\n1. Dependent [egg-redis](https://github.com/eggjs/egg-redis)\n\n  ```bash\n  npm i --save egg-redis\n  ```\n\n2. Import egg-redis as a plugin and set the configuration\n\n  ```js\n  // config/plugin.js\n  exports.redis = {\n    enable: true,\n    package: 'egg-redis',\n  };\n  ```\n\n  ```js\n  // config/config.default.js\n  exports.redis = {\n    // your redis configurations\n  };\n  ```\n\n3. Implement a session store with redis\n\n  ```js\n  // app.js\n\n  module.exports = app => {\n    // set redis session store\n    // session store must have 3 methods\n    // define sessionStore in `app.js` so you can access `app.redis`\n    app.sessionStore = {\n      async get(key) {\n        const res = await app.redis.get(key);\n        if (!res) return null;\n        return JSON.parse(res);\n      },\n\n      async set(key, value, maxAge) {\n        // maxAge not present means session cookies\n        // we can't exactly know the maxAge and just set an appropriate value like one day\n        if (!maxAge) maxAge = 24 * 60 * 60 * 1000;\n        value = JSON.stringify(value);\n        await app.redis.set(key, value, 'PX', maxAge);\n      },\n\n      async destroy(key) {\n        await app.redis.del(key);\n      },\n    };\n\n    // session store can be a session store class\n    // app.sessionStore = class Store {\n    //   constructor(app) {\n    //     this.app = app;\n    //   }\n    //   async get() {}\n    //   async set() {}\n    //   async destroy() {}\n    // };\n  };\n  ```\n\nOnce you use external session store, session is strong dependent on your external store, you can't access session if your external store is down. **Use external session stores only if necessary, avoid use session as a cache, keep session lean and stored by cookie!**\n\n## Configuration\n\nSupport all configurations in [koa-session](https://github.com/koajs/session).\n\n* logValue\n\n```\nSupport not to print the session value when session event trigger log. Default to be true.\n```\n\n[View the default configurations](https://github.com/eggjs/egg-session/blob/master/config/config.default.js)\n\n## Questions & Suggestions\n\nPlease open an issue [here](https://github.com/eggjs/egg/issues).\n\n## License\n\n[MIT](https://github.com/eggjs/egg-session/blob/master/LICENSE)\n","_attachments":{},"homepage":"https://github.com/eggjs/egg-session#readme","bugs":{"url":"https://github.com/eggjs/egg-session/issues"}}