项目作者: ladjs

项目描述 :
Policies helper for Lad
高级语言: JavaScript
项目地址: git://github.com/ladjs/policies.git
创建时间: 2017-09-09T19:28:52Z
项目社区:https://github.com/ladjs/policies

开源协议:MIT License

下载


@ladjs/policies

build status
code style
styled with prettier
made with lass
license

Policies helper for Lad

Table of Contents

Install

npm:

  1. npm install @ladjs/policies

Usage

  1. const Policies = require('@ladjs/policies');
  2. const appName = 'My App Name';
  3. 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

#