node-fence
is a framework-agnostic package which provides powerful ACL abilities to Node.js.
It lets you easily manage ACL with a fluent API easy to learn and to work with. :rocket:
:pray: This package is under active development, some breaking changes may occur before the first release.
Getting Started
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm i --save @slynova/fence
$ yarn add @slynova/fence
When you require the package in your file, it will give you access to the Guard
and Gate
class.
const { Gate, Guard } = require('@slynova/fence')
:point_right: Read the Official Documentation
Contribution Guidelines
Any pull requests or discussions are welcome.
Note that every pull request providing new feature or correcting a bug should be created with appropriate unit tests.