I'm 12 and I built a 2KB 0 dependency alternative to CASL!
Source: Dev.to
Overview
I built permzplus, a 2 KB authentication engine with zero dependencies and a 100/100 Socket quality score. It provides high‑performance attribute‑based access control (ABAC) without the typical 100 KB library bloat.
Key Characteristics
- Size: 2 KB
- Dependencies: None
- Quality Score: 100/100 (Socket)
Technical Approach
- Replaces recursive graph‑walking with a one‑pass linear scan.
- Turns complex role inheritance into $O(1)$ cached lookups.
- Core logic can be examined at
policy.ts:111.
Getting Started
- Explore the source code to see the implementation details.
- Drop a star on the repository if you find the engine useful.