optics-ts VS jsonpath

Compare optics-ts vs jsonpath and see what are their differences.

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
optics-ts jsonpath
3 1
680 82
- -
8.1 10.0
20 days ago over 5 years ago
TypeScript Go
MIT License BSD 3-clause "New" or "Revised" 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.

optics-ts

Posts with mentions or reviews of optics-ts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-12.
  • JavaScript Object Notation (JSON) Pointer
    2 projects | news.ycombinator.com | 12 Apr 2023
  • Advanced Large Object Management with jotai
    1 project | dev.to | 26 Sep 2021
    The trick lies within the optic-ts integration.
  • Jotai, now with Optics
    6 projects | dev.to | 30 Oct 2020
    Fast forward to now and we are learning more about Jotai, a Recoil alternative from Poimandres ( creators of react-three-fiber, etc.). Needless to say, we were very excited when we stumbled upon Jotai Issue #44, a discussion concerning focusable atoms started by Meris Bahtijaragic and the compelling work that resulted, jotai-optics. This code wraps another library we have been very intrigued by as of late, optics-ts which provides a whole new level of typesafe, functional goodness.

jsonpath

Posts with mentions or reviews of jsonpath. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-12.
  • JavaScript Object Notation (JSON) Pointer
    2 projects | news.ycombinator.com | 12 Apr 2023
    I was wondering how this differs from JSONPath, found some answers on google:

    > jsonpointer just defines how to access to a single value inside a json document, whereas jsonpath has more powerful features like union (extract multiple values), filters and deep search (recursively match a path).

    > But jsonpath is missing a proper specification, so some behaviors are implementation specific with some parts heavily depending on some javascript constructs (mainly filters).

    https://github.com/yalp/jsonpath/issues/1#issuecomment-13708...

What are some alternatives?

When comparing optics-ts and jsonpath you can also consider the following projects:

monocle-ts - Functional optics: a (partial) porting of Scala monocle

python-lenses - A python lens library for manipulating deeply nested immutable structures

focal - Program user interfaces the FRP way.

jotai-optics - Jotai integration library for optics-ts

jotai-devtools - Redux Devtools integrations for jotai.

dinero.js - Create, calculate, and format money in JavaScript and TypeScript.

partial.lenses - Partial lenses is a comprehensive, high-performance optics library for JavaScript

joeflix - A Netflix clone using React, React Router, Recoil and React Query.