{"id":17157745,"url":"https://github.com/lessp/bs-cookie-session","last_synced_at":"2025-03-24T14:25:37.652Z","repository":{"id":98468330,"uuid":"167168162","full_name":"lessp/bs-cookie-session","owner":"lessp","description":"Reason bindings for (Express) cookie-session","archived":false,"fork":false,"pushed_at":"2019-01-23T11:36:14.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-20T00:37:18.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","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/lessp.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}},"created_at":"2019-01-23T10:59:39.000Z","updated_at":"2019-01-23T11:36:16.000Z","dependencies_parsed_at":"2023-06-01T21:00:36.660Z","dependency_job_id":null,"html_url":"https://github.com/lessp/bs-cookie-session","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"d283c5153efd3968577959010651d9cf832d48fa"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lessp%2Fbs-cookie-session","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lessp%2Fbs-cookie-session/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lessp%2Fbs-cookie-session/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lessp%2Fbs-cookie-session/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lessp","download_url":"https://codeload.github.com/lessp/bs-cookie-session/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245286862,"owners_count":20590680,"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-14T22:09:40.664Z","updated_at":"2025-03-24T14:25:37.622Z","avatar_url":"https://github.com/lessp.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bs-cookie-session\n\nBarebones BuckleScript-bindings for [cookie-session](https://github.com/expressjs/cookie-session) to be used with [bs-express](https://github.com/reasonml-community/bs-express/)\n\nThese bindings are currently very barebones, so feel free to contribute!\n\n# Getting started\n\n## Example\n\n```ocaml\nopen Express;\n\nlet app = express();\n\nApp.use(\n  app,\n  CookieSession.make(\n    ~name=\"name\",\n    ~keys=[\"key1\", \"key2\"],\n    ~secret=\"somesecret\",\n  ),\n);\n\n// etc\n```\n\n## Installation\n\n```bash\nnpm i -S bs-cookie-session\n```\n\n## Configuring\n\nAdd bs-cookie-session as a dependency to your `bsconfig.json`\n\n```json\n\"bs-dependencies\": [\n  \"bs-express\",\n  // other dependencies\n],\n```\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flessp%2Fbs-cookie-session","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flessp%2Fbs-cookie-session","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flessp%2Fbs-cookie-session/lists"}