Casbin.js Server Utilities for Node-Casbin
If you are using Casbin.js at your frontend and Node-Casbin as your backend Casbin service, you can install this package at your backend. This package provides a wrapper for generating the user profile passed to Casbin.js at the frontend.
Installation
npm install --save casbinjs-server-tool
# or
yarn add casbinjs-server-tool
Example
// In your Restful APIprivate async : Promise<void> thisapp