{"id":19081700,"url":"https://github.com/tkshnwesper/couchdb-expression","last_synced_at":"2025-07-14T15:07:25.742Z","repository":{"id":46043782,"uuid":"106472033","full_name":"tkshnwesper/couchdb-expression","owner":"tkshnwesper","description":"Express Session Store for CouchDB","archived":false,"fork":false,"pushed_at":"2024-11-09T15:46:33.000Z","size":931,"stargazers_count":3,"open_issues_count":7,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-09T15:16:59.729Z","etag":null,"topics":["couchdb","express","express-session"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/couchdb-expression","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/tkshnwesper.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-10-10T21:13:14.000Z","updated_at":"2024-11-09T15:46:30.000Z","dependencies_parsed_at":"2024-11-09T02:38:39.646Z","dependency_job_id":"30b76b69-c709-4208-babe-4e8a35942fdf","html_url":"https://github.com/tkshnwesper/couchdb-expression","commit_stats":{"total_commits":77,"total_committers":5,"mean_commits":15.4,"dds":0.5584415584415585,"last_synced_commit":"1f3088d834a88ecfc15c79c2131906ffe0be02f6"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/tkshnwesper/couchdb-expression","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkshnwesper%2Fcouchdb-expression","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkshnwesper%2Fcouchdb-expression/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkshnwesper%2Fcouchdb-expression/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkshnwesper%2Fcouchdb-expression/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkshnwesper","download_url":"https://codeload.github.com/tkshnwesper/couchdb-expression/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkshnwesper%2Fcouchdb-expression/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265311871,"owners_count":23745161,"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":["couchdb","express","express-session"],"created_at":"2024-11-09T02:38:30.296Z","updated_at":"2025-07-14T15:07:25.443Z","avatar_url":"https://github.com/tkshnwesper.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# couchdb-expression [![GitHub license](https://img.shields.io/github/license/tkshnwesper/couchdb-expression.svg?style=for-the-badge)](https://github.com/tkshnwesper/couchdb-expression/blob/master/LICENSE)\n\n[![NPM](https://nodei.co/npm/couchdb-expression.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/couchdb-expression/)\n\n[![Coverage Status](https://coveralls.io/repos/github/tkshnwesper/couchdb-expression/badge.svg?branch=master)](https://coveralls.io/github/tkshnwesper/couchdb-expression?branch=master) [![npm version](https://badge.fury.io/js/couchdb-expression.svg)](https://badge.fury.io/js/couchdb-expression) [![Known Vulnerabilities](https://snyk.io/test/github/tkshnwesper/couchdb-expression/badge.svg)](https://snyk.io/test/github/tkshnwesper/couchdb-expression) [![Maintainability](https://api.codeclimate.com/v1/badges/963c0939efe683828797/maintainability)](https://codeclimate.com/github/tkshnwesper/couchdb-expression/maintainability)\n\n## Installing\n\n```sh\nnpm i couchdb-expression\n```\n\n## Usage\n\nA sample program:\n\n```js\nconst express = require('express');\nconst session = require('express-session');\nconst Expression = require('couchdb-expression')(session);\n\nconst store = new Expression({\n  username: 'root',         // default value = 'admin'\n  password: 'hello123',     // default value = 'password'\n  hostname: 'localhost',    // default value = 'localhost'\n  port: '5984',             // default value = 5984\n  database: 'sessions',     // default value = 'sessions'\n  https: false              // default value = false\n});\n\nconst app = express();\n\napp.use(session({\n  store: store,\n  secret: 'meow',\n  cookie: {\n    maxAge: 3000,\n  },\n  resave: true,\n  saveUninitialized: true,\n}));\n\napp.get('/', (req, res) =\u003e {\n  console.log(req.session);\n  res.send('hello world');\n});\n\napp.listen(3000);\n```\n\n## Issues\n\nLet me know if you face any issues, I would be happy to help! :)\nPost your issues [here](https://github.com/tkshnwesper/couchdb-expression/issues).\n\nHappy Coding! ^-^","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkshnwesper%2Fcouchdb-expression","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkshnwesper%2Fcouchdb-expression","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkshnwesper%2Fcouchdb-expression/lists"}