pdsl
TypeScript icon, indicating that this package has built-in type declarations

5.2.10 • Public • Published




Predicate Domain Specific Language

Read the docs!        




Build Status npm bundle size npm codecov

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
  • Intuitive
  • Expressive
  • Lightweight - under 6k!
  • No dependencies
  • Small bundle size
  • Fast

Documentation

PDSL Documentation

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
5.2.101latest
5.2.101next

Version History

VersionDownloads (Last 7 Days)Published
5.2.101
5.2.90
5.2.80
5.2.70
5.2.60
5.2.50
5.2.40
5.2.30
5.2.20
5.2.10
5.2.00
5.1.00
5.0.30
5.0.20
5.0.10
5.0.00
4.1.00
4.0.50
4.0.40
4.0.30
4.0.20
4.0.10
4.0.00
3.6.00
3.5.120
3.5.110
3.5.100
3.5.70
3.5.60
3.5.40
3.5.30
3.5.20
3.5.10
3.5.00
3.4.40
3.4.30
3.4.20
3.4.10
3.4.00
3.3.10
3.3.00
3.2.10
3.2.00
3.1.20
3.1.10
3.1.00
3.0.00
2.1.00
2.0.20
2.0.10
2.0.00
1.0.20
1.0.10
1.0.00
0.1.30
0.1.20
0.1.10
0.1.00
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.00

Package Sidebar

Install

npm i pdsl

Weekly Downloads

1

Version

5.2.10

License

MIT

Unpacked Size

195 kB

Total Files

53

Last publish

Collaborators

  • ryardley