I'm 12 and I built a 2KB 0 dependency alternative to CASL!

Published: (April 3, 2026 at 04:45 PM EDT)
1 min read
Source: Dev.to

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.

Repository

PermzPlus / Permzplus on GitHub

0 views
Back to Blog

Related posts

Read more »

EmDash: A Fresh Take on CMS

It’s April 1st. A new CMS drops, built by Cloudflare, powered by Astro, pitched as a modern spiritual successor to WordPress. Sure. Very funny. Except it wasn’t...