Skip to content

ladjs/policies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 30, 2025
9494fde · Jan 30, 2025
Dec 14, 2023
Jun 20, 2022
Dec 14, 2023
Jun 20, 2022
Sep 12, 2017
Jun 20, 2022
Jun 20, 2022
Jun 20, 2022
Jun 20, 2022
Jun 20, 2022
Jun 20, 2022
Sep 12, 2017
Jun 20, 2022
Jun 20, 2022
Sep 22, 2017
Jun 20, 2022
Jan 30, 2025
Jan 30, 2025

Repository files navigation

build status code style styled with prettier made with lass license

Policies helper for Lad

Table of Contents

Install

npm:

npm install @ladjs/policies

Usage

const Policies = require('@ladjs/policies');

const appName = 'My App Name';

const policies = new Policies({ appName }, api_token => Users.findOne({ api_token }));

Options

See index.js for options and defaults.

Contributors

Name Website
Nick Baugh http://niftylettuce.com
Spencer Snyder http://spencersnyder.io/
Pablo Varela http://pablo.life
Shaun Warman https://shaunwarman.com/
shadowgate15 https://github.com/shadowgate15

License

MIT © Nick Baugh