acl-firestore-backend
v0.1.0
Published
acl-firestore-backend =====================
Downloads
2
Readme
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);