connect-aliyunocs
Version:
Aliyun OCS session store for Connect
38 lines (37 loc) • 1.74 kB
JSON
{
"name": "connect-aliyunocs",
"version": "0.0.3",
"description": "Aliyun OCS session store for Connect",
"main": "index.js",
"dependencies": {
"aliyun-sdk": "^1.5.2",
"debug": "^2.2.0"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": {
"name": "Simba Cai"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/simbacai/connect-aliyunocs.git"
},
"keywords": [
"connect",
"aliyun",
"OCS"
],
"bugs": {
"url": "https://github.com/simbacai/connect-aliyunocs/issues"
},
"homepage": "https://github.com/simbacai/connect-aliyunocs",
"readme": "# Connect Aliyun OCS \n\nconnect-aliyunocs is a Aliyun OCS(http://ocs.aliyun.com) session store backed by [aliyun-sdk-js](https://github.com/aliyun-UED/aliyun-sdk-js.git)\n\n## Installation\n\n\t $ npm install connect-aliyunocs\n\n## Options\n \n - `client` An existing Aliyun OCS client object you normally get from `ALY.memcached.createClient()`\n - `host` Aliyun OCS server internal network IP\n - `ocsKey` Aliyun OCS server account\n - `ocsSecret` Aliyun OCS server passwd\n - `prefix` Key prefix defaulting to \"sess:\"\n - `ttl` Aliyun OCS session TTL in seconds\n\n## Usage\n\n var session = require('express-session');\n var aliyunocsStore= require('connect-aliyunocs')(connect);\n\n app.use(session({ store: new aliyunocsStore(options), secret: 'keyboard cat' }))\n \n# License\n\n MIT\n",
"readmeFilename": "Readme.md",
"gitHead": "791ea3099a578c7d1979682f8d2339771ee37183",
"_id": "connect-aliyunocs@0.0.2",
"_shasum": "65e182e51273db0024cc4f9c14d84b38af7e72e8",
"_from": "connect-aliyunocs@0.0.2"
}