I'm 12 and I built a 2KB 0 dependency alternative to CASL!
I built permzplus, a 2KB auth engine with 0 dependencies and a 100/100 Socket quality score. It replaces recursive graph-walking with a one-pass linear scan to turn complex role-inheritance into $O...

Source: DEV Community
I built permzplus, a 2KB auth engine with 0 dependencies and a 100/100 Socket quality score. It replaces recursive graph-walking with a one-pass linear scan to turn complex role-inheritance into $O(1)$ cached lookups. Check out the logic at policy.ts:111 and drop a star if you want high-performance ABAC without the 100KB library bloat. Link: https://github.com/PermzPlus/Permzplus :D