0.1.3 • Published 4 years ago

rolr v0.1.3

Weekly downloads
8
License
MIT
Repository
github
Last release
4 years ago

rolr

Rolr is a JavaScript library for managing user roles which restricts what resources a given user is allowed to access

npm-version npm-download

Usage

import Rolr from 'rolr'

const roles = new Rolr(['admin', 'staff'])

roles.has('admin')  // true
roles.has('editor') // false

License

This is free and unencumbered software released into the public domain. See LICENSE

0.1.2

4 years ago

0.1.3

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago