{"id":17141785,"url":"https://github.com/zmofei/msession","last_synced_at":"2026-01-06T04:06:42.447Z","repository":{"id":16901964,"uuid":"19662873","full_name":"zmofei/mSession","owner":"zmofei","description":"A easy way to control session in nodejs","archived":false,"fork":false,"pushed_at":"2014-05-11T09:44:08.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T19:40:54.630Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zmofei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-11T09:38:06.000Z","updated_at":"2014-05-11T09:44:07.000Z","dependencies_parsed_at":"2022-08-26T16:20:57.536Z","dependency_job_id":null,"html_url":"https://github.com/zmofei/mSession","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmofei%2FmSession","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmofei%2FmSession/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmofei%2FmSession/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmofei%2FmSession/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zmofei","download_url":"https://codeload.github.com/zmofei/mSession/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245236932,"owners_count":20582565,"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","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-14T20:27:06.076Z","updated_at":"2026-01-06T04:06:42.417Z","avatar_url":"https://github.com/zmofei.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"mSession\n============\n\nA easy way to control session in nodejs\n\nInstall\n=======\n\n`npm install msession`\n\nExample\n=======\n\n```javascript\n\n//require the session.js\nvar session = require('session.js');\n\n//start the session.\n//you must get the req,and res.\nvar sessionM = session.start(req, res);\n\n//set Session\n//.set(key,val,expTime);\nsessionM.set('power','admin',1000*60*60*24)\n\n//get Session\nsessionM.get('power');\n//return 'admin' \n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmofei%2Fmsession","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzmofei%2Fmsession","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmofei%2Fmsession/lists"}