11 points · by sarahdayan · 8y ago · 1 comment
The author does a good job at building up the abstractions from first principles in this post: https://ren.zone/articles/safe-money
GitHub - dinerojs/dinero.js: Create, calculate, and format money in JavaScript and TypeScript
Create, calculate, and format money in JavaScript and TypeScript - dinerojs/dinero.js
GitHub