Simplest Limitr example — a SaaS product with seat-based pricing.
What this shows:
- Defining a policy with seat credits and two plans
- Hard limit enforcement (blocks when exceeded)
- Seat increments and usage tracking
- Upgrading a customer to a higher plan
Run it:
npm install
npx tsx index.tsNo Limitr Cloud account needed. Everything runs locally.