secure-json-logic
Use logic-objects from uncertain sources and run them locally without breaking the own system (by pubkey)
json-logic-rs
JSONLogic implementation in Rust, accessible via Python and JS (by Bestowinc)
Our great sponsors
secure-json-logic | json-logic-rs | |
---|---|---|
1 | 1 | |
4 | 34 | |
- | - | |
0.0 | 4.4 | |
over 1 year ago | 14 days ago | |
JavaScript | Rust | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
secure-json-logic
Posts with mentions or reviews of secure-json-logic.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-27.
-
JsonLogic
I also did this some year ago. A big learning was that you should define the allowed input types in the logic object.
https://github.com/pubkey/secure-json-logic#readme
json-logic-rs
Posts with mentions or reviews of json-logic-rs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-27.
-
JsonLogic
We built a rust version of this that provides a Python package via CFFI and a node package via WASM, because we found that the different implementations for different languages were pretty buggy and would sometimes resolve expressions differently. Also the original project in JS seems to be largely unmaintained. The rust version goes to great lengths to reimplement weird JS typecasting so as to be fully compatible with the original.
https://github.com/Bestowinc/json-logic-rs
I am currently working on an extension to add functions and more strongly typed operators to avoid the hassle of JS’ type conversion.
What are some alternatives?
When comparing secure-json-logic and json-logic-rs you can also consider the following projects:
jsonlogic - Go Lang implementation of JsonLogic
json-logic-js - Build complex rules, serialize them as JSON, and execute them in JavaScript
cel-spec - Common Expression Language -- specification and binary representation
sci - Configurable Clojure/Script interpreter suitable for scripting and Clojure DSLs
jaspr - Modern web framework for building websites in Dart. Supports SPAs and SSR.
dhall-lang - Maintainable configuration files
secure-json-logic vs jsonlogic
json-logic-rs vs jsonlogic
secure-json-logic vs json-logic-js
json-logic-rs vs cel-spec
secure-json-logic vs cel-spec
json-logic-rs vs json-logic-js
secure-json-logic vs sci
json-logic-rs vs jaspr
secure-json-logic vs jaspr
json-logic-rs vs sci
json-logic-rs vs dhall-lang