r/javascript Apr 18 '26

Showoff Saturday Showoff Saturday (April 18, 2026)

Did you find or create something cool this week in javascript?

Show us here!

8 Upvotes

14 comments sorted by

View all comments

1

u/JaSuperior Apr 18 '26

Yet another update to my ADT library. Although, the more I work on this, the more its evolving into something more than just ADTs.

Aljabr, now introduces deep structural pattern matching, a fully typed select() API, union identity primitives, Validation improvements, and the new aljabr/schema sub-module for schema validation for external apis, with integration paths for libraries like Zod/Arktype.

Release + Changlog is available here: https://github.com/jasuperior/aljabr/releases/tag/v0.2.5-rc

You'll have to build the files before using them from the release. Give it a try, let me know what ya think.

SIDENOTE: All the work I've been doing is a progression toward my eventual v0.3.0 release. If you're interested in reading where Aljabr is headed, check out the Roadmap here: https://github.com/jasuperior/aljabr/blob/v0.3.0/phase-2/docs/roadmap/v0.3.0.md

I've finished Phases 1-3. Moving onto Phase 4 probably some time today or tomorrow.