Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Seat-Based Limits (Local)

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.ts

No Limitr Cloud account needed. Everything runs locally.