News for hackers. Stuff that matters.
Re:Pundit-ts: type-safe authorization library for Node.js by fatihky on Saturday February 08, 2025 @09:44AM (#42983253)
Hi, I have developed the pundit-ts[1], a fully type-safe authorization library for Node.JS. It's inspired by the pundit gem[2].

pundit-ts provides almost the same functionality as the pundit gem, but with full type-safety for both actions (ie. create, edit etc...) and the filtering (policy_scope in the pundit). so you will benefit excellent auto-complete support for your entities.

[1]: https://github.com/fatihky/pundit-ts [2]: https://github.com/varvet/pundit

Re:Pundit-ts: type-safe authorization library for Node.js by deskriptiff on Saturday February 08, 2025 @01:11PM (#42984856)
I love the intuitiveness of it