abacl-redis
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

ABACL - Redis Driver

npm npm Coverage GitHub documentation Build, Test and Publish

ABACL redis storage driver to store policies in your redis.

Quick Start

Installation

npm install --save abacl-redis

Use Redis Driver

import { RedisDriver } from 'abacl-redis';
import { AccessControl } from 'abacl';

const ac = new AccessControl([], { driver: RedisDriver.build(/* Redis | RedisOptions */) });

// OR

const ac = new AccessControl([], { driver: () => RedisDriver.build(/* Redis | RedisOptions */) });

License

MIT

Package Sidebar

Install

npm i abacl-redis

Weekly Downloads

0

Version

2.0.3

License

MIT

Unpacked Size

18.2 kB

Total Files

12

Last publish

Collaborators

  • vhidvz