secure-json-logic VS json-logic-rs

Compare secure-json-logic vs json-logic-rs and see what are their differences.

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
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
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.

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
    9 projects | news.ycombinator.com | 27 May 2021
    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
    9 projects | news.ycombinator.com | 27 May 2021
    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