{"id":13555481,"url":"https://github.com/jo/couchdb-secure","last_synced_at":"2025-03-22T12:31:43.857Z","repository":{"id":33413578,"uuid":"37058817","full_name":"jo/couchdb-secure","owner":"jo","description":"Write couchdb security object from file or directory.","archived":false,"fork":false,"pushed_at":"2023-03-08T04:56:31.000Z","size":2709,"stargazers_count":9,"open_issues_count":6,"forks_count":2,"subscribers_count":42,"default_branch":"main","last_synced_at":"2025-03-18T11:05:22.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jo.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}},"created_at":"2015-06-08T09:50:47.000Z","updated_at":"2021-10-14T13:04:40.000Z","dependencies_parsed_at":"2024-04-22T00:50:35.319Z","dependency_job_id":"17a47d68-b7ee-4487-be42-60b4a736db9d","html_url":"https://github.com/jo/couchdb-secure","commit_stats":{"total_commits":56,"total_committers":7,"mean_commits":8.0,"dds":0.4285714285714286,"last_synced_commit":"695cc7e3668ba4bdb29135ea2efb3bb53a79defd"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo%2Fcouchdb-secure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo%2Fcouchdb-secure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo%2Fcouchdb-secure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jo%2Fcouchdb-secure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jo","download_url":"https://codeload.github.com/jo/couchdb-secure/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244959442,"owners_count":20538625,"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-08-01T12:03:14.160Z","updated_at":"2025-03-22T12:31:43.505Z","avatar_url":"https://github.com/jo.png","language":"JavaScript","readme":"# CouchDB Secure\nWrite couchdb security object from file or directory.\n\n\n## API\n\n```js\nsecure(url, source[, options], callback)\n```\n\n* `url` - CouchDB database URL\n* `source` -  Can be a  Couchapp Directory Tree, JSON file or CommonJS/Node module. Please see [couchdb-compile](https://github.com/jo/couchdb-compile) for in depth information about source handling.\n* `callback` - called when done with a `response` object describing the status of all operations.\n\n### Example\n\n```js\nvar secure = require('couchdb-secure')\nsecure('http://localhost:5984/mydb', 'couchdb/security.json', function(error, response) {\n  // here we go\n})\n```\n\n## CLI\n\n```sh\ncouchdb-secure URL [SOURCE]\n```\n\nWhen `SOURCE` is omitted, the current directory will be used.\n\n\n### Example\n```sh\ncouchdb-secure http://localhost:5984/mydb couchdb/security.json\n```\n\n## Tests\n```sh\nnpm test\n```\n","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjo%2Fcouchdb-secure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjo%2Fcouchdb-secure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjo%2Fcouchdb-secure/lists"}