Pdsl
The expressive declarative toolkit for composing predicates in TypeScript or JavaScript
Install / Use
/learn @ryardley/PdslREADME
<br/><br/><br/>
<p align="center"> <img src="pdsl-logo.png" width="200" /> </p> <h1 align="center">Predicate Domain Specific Language</h1> <h4 align="center"> <a href="https://pdsl.site">Read the docs!</a> </h4> <br/><br/><br/>An expressive declarative toolkit for composing predicates in TypeScript or JavaScript
import p from "pdsl";
const isSoftwareCreator = p`{
name: string,
age: > 16,
occupation: "Engineer" | "Designer" | "Project Manager"
}`;
isSoftwareCreator(someone); // true | false
- [x] Intuitive
- [x] Expressive
- [x] Lightweight - under 6k!
- [x] No dependencies
- [x] Small bundle size
- [x] Fast
Documentation
Related Skills
node-connect
352.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Writing Hookify Rules
111.3kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
review-duplication
100.7kUse this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
