@ladjs/policies

    7.0.0 • Public • Published

    @ladjs/policies

    build status code coverage code style styled with prettier made with lass license

    Policies helper for Lad

    Table of Contents

    Install

    npm:

    npm install @ladjs/policies

    yarn:

    yarn add @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

    Install

    npm i @ladjs/policies

    DownloadsWeekly Downloads

    87

    Version

    7.0.0

    License

    MIT

    Unpacked Size

    27.4 kB

    Total Files

    12

    Last publish

    Collaborators

    • shadowgate15
    • niftylettuce
    • shaunwarman
    • spence-s