{"id":18926813,"url":"https://github.com/ladjs/policies","last_synced_at":"2025-06-28T19:32:50.632Z","repository":{"id":25484068,"uuid":"102979854","full_name":"ladjs/policies","owner":"ladjs","description":"Policies helper for Lad","archived":false,"fork":false,"pushed_at":"2025-01-30T17:30:33.000Z","size":548,"stargazers_count":2,"open_issues_count":0,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-05T02:01:54.351Z","etag":null,"topics":["api","basic-auth","group","koa","lad","mongodb","mongoose","passport","permissioning","policies","unix"],"latest_commit_sha":null,"homepage":"https://lad.js.org","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/ladjs.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}},"created_at":"2017-09-09T19:28:52.000Z","updated_at":"2025-01-30T17:30:37.000Z","dependencies_parsed_at":"2023-02-16T17:31:12.660Z","dependency_job_id":null,"html_url":"https://github.com/ladjs/policies","commit_stats":null,"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fpolicies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fpolicies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fpolicies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ladjs%2Fpolicies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ladjs","download_url":"https://codeload.github.com/ladjs/policies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248298312,"owners_count":21080320,"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":["api","basic-auth","group","koa","lad","mongodb","mongoose","passport","permissioning","policies","unix"],"created_at":"2024-11-08T11:17:14.634Z","updated_at":"2025-04-15T13:33:26.128Z","avatar_url":"https://github.com/ladjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [**@ladjs/policies**](https://github.com/ladjs/policies)\n\n[![build status](https://github.com/ladjs/policies/actions/workflows/ci.yml/badge.svg)](https://github.com/ladjs/policies/actions/workflows/ci.yml)\n[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)\n[![license](https://img.shields.io/github/license/ladjs/policies.svg)]()\n\n\u003e Policies helper for Lad\n\n\n## Table of Contents\n\n* [Install](#install)\n* [Usage](#usage)\n* [Options](#options)\n* [Contributors](#contributors)\n* [License](#license)\n\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install @ladjs/policies\n```\n\n\n## Usage\n\n```js\nconst Policies = require('@ladjs/policies');\n\nconst appName = 'My App Name';\n\nconst policies = new Policies({ appName }, api_token =\u003e Users.findOne({ api_token }));\n```\n\n\n## Options\n\nSee [index.js](index.js) for options and defaults.\n\n\n## Contributors\n\n| Name               | Website                           |\n| ------------------ | --------------------------------- |\n| **Nick Baugh**     | \u003chttp://niftylettuce.com\u003e         |\n| **Spencer Snyder** | \u003chttp://spencersnyder.io/\u003e        |\n| **Pablo Varela**   | \u003chttp://pablo.life\u003e               |\n| **Shaun Warman**   | \u003chttps://shaunwarman.com/\u003e        |\n| **shadowgate15**   | \u003chttps://github.com/shadowgate15\u003e |\n\n\n## License\n\n[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com)\n\n\n##\n\n[npm]: https://www.npmjs.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladjs%2Fpolicies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fladjs%2Fpolicies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fladjs%2Fpolicies/lists"}