monocle-ts VS spectacles-ts

Compare monocle-ts vs spectacles-ts and see what are their differences.


Functional optics: a (partial) porting of Scala monocle (by gcanti)


Practical Optics • Unfancy monocle-ts (by anthonyjoeseph)
Our great sponsors
  • Klotho - AWS Cloud-aware infrastructure-from-code toolbox [NEW]
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Sonar - Write Clean JavaScript Code. Always.
  • InfluxDB - Access the most powerful time series database as a service
monocle-ts spectacles-ts
6 1
982 92
- -
0.0 0.0
6 months ago 3 months ago
TypeScript TypeScript
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.


Posts with mentions or reviews of monocle-ts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-23.


Posts with mentions or reviews of spectacles-ts. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-24.

What are some alternatives?

When comparing monocle-ts and spectacles-ts you can also consider the following projects:

optics-ts - Type-safe, ergonomic, polymorphic optics for TypeScript

zustand - 🐻 Bear necessities for state management in React

immutability-helper - mutate a copy of data without changing the original source

valtio - 💊 Valtio makes proxy-state simple for React and Vanilla

fp-ts - Functional programming in TypeScript

fp-ts-contrib - A community driven utility package for fp-ts

jotai - 👻 Primitive and flexible state management for React

reatom - Reatom - the ultimate state manager

shades - A lodash-inspired lens-like library for Javascript

Immer - Create the next immutable state by mutating the current one