acl-firestore-backend
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

acl-firestore-backend

Firestore backend for NODE ACL

$ yarn add acl-firestore-backend

Example

import Acl from 'acl';
import * as admin from 'firebase-admin';
import FirebaseBackend from 'acl-firestore-backend';

// initialize firebase application

const backend = new FirestoreBackend(admin.firestore(), 'acl');
const acl = new Acl(backend);

Readme

Keywords

none

Package Sidebar

Install

npm i acl-firestore-backend

Weekly Downloads

1

Version

0.1.0

License

Apache-2.0

Unpacked Size

17.9 kB

Total Files

8

Last publish

Collaborators

  • poying