Predicate Domain Specific Language
Read the docs!
An expressive declarative toolkit for composing predicates in TypeScript or JavaScript
; const isSoftwareCreator = p`{ name: string, age: > 16, occupation: "Engineer" | "Designer" | "Project Manager"}`; ; // true | false
- Intuitive
- Expressive
- Lightweight - under 6k!
- No dependencies
- Small bundle size
- Fast