0.3.0 • Published 7 years ago

@collinbrewer/predicate v0.3.0

Weekly downloads
17
License
ISC
Repository
github
Last release
7 years ago

Predicate

Travis Coveralls Code Climate David

A Javascript utility for evaluating objects against a set of criteria.

Installation

npm install @collinbrewer/predicate -S

Usage

let predicate = Predicate.parse('name BEGINSWITH "C" && rank>9');
let satisfies = predicate.evaluateWithObject({name:'Collin', rank:12}); // returns true
0.3.0

7 years ago

0.2.0

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

8 years ago

0.1.2

8 years ago