dinero.js
optics-ts
dinero.js | optics-ts | |
---|---|---|
2 | 3 | |
6,196 | 684 | |
0.3% | - | |
0.0 | 8.1 | |
6 days ago | 25 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
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.
dinero.js
-
[AskJS] How do you deal with floats in production apps?
See for example https://github.com/dinerojs/dinero.js/issues/6 (floating point issues because dinero used vanilla floats…)
-
[TypeScript][PostgreSQL][TSyringe][Express]Try TypeORM 2
There are some libraries for handling monetary types like Dinero.js. But they are only for using in JavaScript|TypeScript world.
optics-ts
- JavaScript Object Notation (JSON) Pointer
-
Advanced Large Object Management with jotai
The trick lies within the optic-ts integration.
-
Jotai, now with Optics
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.
What are some alternatives?
cashify - đź’¸ Lightweight currency conversion library, successor of money.js
monocle-ts - Functional optics: a (partial) porting of Scala monocle
Mida - A JavaScript framework to easily operate in global financial markets.
python-lenses - A python lens library for manipulating deeply nested immutable structures
eslint-plugin-big-number-rules - Enforce (or automatically fix) finance-safe calculations using BigNumber or similar libraries.
jotai-optics - Jotai integration library for optics-ts
rimbu - Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
focal - Program user interfaces the FRP way.
jotai-devtools - Redux Devtools integrations for jotai.
jsonpath - A Go implementation of JSONPath
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.