gcanti / money-ts

TypeScript library for type-safe and lossless encoding and manipulation of world currencies and precious metals
https://gcanti.github.io/money-ts/
MIT License
89 stars 8 forks source link

Upgrade to fp-ts 2 #7

Open steida opened 4 years ago

steida commented 4 years ago

Do you plan it or should userland send a PR? I know the company which maybe will desperately need it.

gcanti commented 4 years ago

Yes I do (as soon as I understand how to use the new bigint type introduced in TypeScript 3.2)

EricCrosson commented 3 years ago

I too am investigating alternative libraries for currency manipulation. I tried money-ts some months ago and found the incompatibility with fp-ts 2 insurmountable. Here we are on the brink of fp-ts 3!

I haven't popped the hood to look at the internals yet but would value the ability to use this library highly. It sounds like there's some modernization required, in terms of bigint as well as the fp-ts peer dependency. What would be the best way to help?

ryanleecode commented 3 years ago

@EricCrosson did you ever find a proper substitute for this library?

EricCrosson commented 3 years ago

No @ryanleecode I have not. I did "start" a tiny (unpublished) version locally for a project but it is still in a rough state.