All Projects → ryardley → pdsl

ryardley / pdsl

Licence: MIT license
The expressive declarative toolkit for composing predicates in TypeScript or JavaScript

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to pdsl

filter-anything
A simple (TypeScript) integration of "pick" and "omit" to filter props of an object
Stars: ✭ 19 (-70.31%)
Mutual labels:  guard
type-guards
Simple utility for runtime type checking which also assigns the correct type if used with TypeScript.
Stars: ✭ 30 (-53.12%)
Mutual labels:  guard
PanicTrigger
An app for emergency situation
Stars: ✭ 19 (-70.31%)
Mutual labels:  guard
Chat-Guard
No description or website provided.
Stars: ✭ 43 (-32.81%)
Mutual labels:  guard
AuthGuard
Example repo for guarding routes post
Stars: ✭ 42 (-34.37%)
Mutual labels:  guard
guard
⚡ :: Discord bot for easy moderation.
Stars: ✭ 27 (-57.81%)
Mutual labels:  guard
FoxGuard-Sponge
A Minecraft world protection plugin for SpongeAPI
Stars: ✭ 31 (-51.56%)
Mutual labels:  guard
Migration
《系统重构与迁移指南》手把手教你分析、评估现有系统、制定重构策略、探索可行重构方案、搭建测试防护网、进行系统架构重构、服务架构重构、模块重构、代码重构、数据库重构、重构后的架构守护
Stars: ✭ 2,753 (+4201.56%)
Mutual labels:  guard
safe
C++11 header only RAII guards for mutexes and locks.
Stars: ✭ 119 (+85.94%)
Mutual labels:  guard
discord-chat-guard-bot
A simple Discord chat guard bot.
Stars: ✭ 37 (-42.19%)
Mutual labels:  guard
TTGNotificationGuard
Auto remove the observer from NSNotificationCenter after the oberser dealloc
Stars: ✭ 13 (-79.69%)
Mutual labels:  guard
Preconditions
Preconditions.NET provides convenience static methods to help check that a method or a constructor is invoked with proper parameter or not.
Stars: ✭ 17 (-73.44%)
Mutual labels:  guard
Crocks
A collection of well known Algebraic Data Types for your utter enjoyment.
Stars: ✭ 1,501 (+2245.31%)
Mutual labels:  predicate-functions
kitty
C++ truth table library
Stars: ✭ 28 (-56.25%)
Mutual labels:  boolean-function




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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].