Launched this week
Bantai

Bantai

TypeScript-first policy library for rule-based decisions

1 follower

Bantai is a powerful, type-safe policy evaluation library that enables you to build complex validation and decision-making logic using composable rules and policies. Built with TypeScript and Zod, it provides end-to-end type safety while remaining flexible enough to handle diverse use cases.
Bantai gallery image
Bantai gallery image
Bantai gallery image
Bantai gallery image
Bantai gallery image
Bantai gallery image
Free
Launch Team
Wispr Flow: Dictation That Works Everywhere
Wispr Flow: Dictation That Works Everywhere
Stop typing. Start speaking. 4x faster.
Promoted

What do you think? …

Jun
Maker
📌
Hey Product Hunt 👋 I’m the creator of Bantai — a TypeScript-first policy evaluation library for rule-based validation and decision-making. I built this after repeatedly needing a clean way to express rules and policies as code, without hard-wiring business logic all over services. Bantai focuses on: Strong TypeScript typing from context → rule → decision Composable, reusable policies (not just auth) Framework-agnostic usage (API, backend, edge, workers) Use cases like access control, rate limiting, feature gating, and validations It’s open source and still evolving, so feedback really matters 🙏 I’d love to hear: Where do you currently implement rules/decisions in your stack? What problems do existing policy engines not solve well for you? Happy to answer any questions — thanks for checking it out! 🚀