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 tags:Open Sourceβ€’Developer Toolsβ€’GitHub
Launch Team
Webflow | AI site builder
Webflow | AI site builder
Start fast. Build right.
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! πŸš€