shimo-scope

1.0.3 • Public • Published

Shimo Scope

Build Status

Install

npm install shimo-scope

Usage

const scope = require('shimo-scope');
scope('read', 'write'); // false
scope('read account', 'account'); // true
 
scope.normalize('public read account'); // 'read account'
scope.normalize('read write'); // 'write'
scope.normalize('account'); // 'public account'

Readme

Keywords

Package Sidebar

Install

npm i shimo-scope

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • luin