-
Would be awesome with "selecct examples" dropdown on http://jsonlogic.com/play.html so I dont have to start from scratch - but can poke around with different examples...
-
```
var jsonLogic = require('json-logic-js')
var score = 0
var rule = {
// if count.length > 5 => +10; otherwise -10
"+": [score, {
"if": [{
">": [{
…
-
Great work so far, I'm really interested in seeing where it can go.
I'm interested in formatting some test in a js format, based upon chai. Would it be possible to extend operations to expose chai's A…
-
The general idea is to support the usage of date variables passed in as strings with some form of operator/type specifier to identify them as dates. The primary goal is to support comparison operators…
-
We want to be able to specify visibility logic of some `Component`.
These rules can also be loaded from a JSON, given an identifier (#3).
Rules will affect the visibility of a `Component`.
Exampl…
-
Been using the lib nicely in IE and Chrome but found a serious bug in Safari (v9.1.1).
``` javascript
var logic = {
"and": [
{ "==": [ {"var": "foo"}, 0 ] },
{ "==": [ {"var": "bar" }, 0] }
…
adzap updated
8 years ago