@casl/ability

CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access

permix

Permix is a lightweight, framework-agnostic, type-safe permissions management library for JavaScript applications on the client and server sides.