role-handler-nt

0.5.1 • Public • Published

RoleHandler

Simple module that is caching roles using lokijs.

Installation

$ yarn install role-handler-nt --save

Documentation

  • inMemoryGo(arrRoles)

    • Description : Caching the roles.
    • @param {Array} arrRoles
    • @return {Promise}
  • check(roleLabel, module, action)

    • Description : Check the role
    • @param {string} roleLabel
    • @param {string} module
    • @param {string | number} action
    • @return {boolean}

Readme

Keywords

none

Package Sidebar

Install

npm i role-handler-nt

Weekly Downloads

1

Version

0.5.1

License

ISC

Unpacked Size

2.81 kB

Total Files

4

Last publish

Collaborators

  • nicolas.garnier