Pundit-ts: type-safe authorization library for Node.js
github.com
github.com
pundit-ts provides almost the same functionality as the pundit gem, but with full type-safety for both actions (ie. create, edit etc...) and the filtering (policy_scope in the pundit). so you will benefit excellent auto-complete support for your entities.
[1]: https://github.com/fatihky/pundit-ts [2]: https://github.com/varvet/pundit