Dinero.js (@dinerojs) 's Twitter Profile
Dinero.js

@dinerojs

Dinero.js is a library to express monetary values in JavaScript and TypeScript. By @frontstuff_io.

ID: 990309079296937986

linkhttp://v2.dinerojs.com calendar_today28-04-2018 19:17:38

13 Tweet

123 Followers

1 Following

Sarah Dayan (@frontstuff_io) 's Twitter Profile Photo

In Harry Potter, Great Britain's wizarding currency has multiple subdivisions: 17 Sickles in a Galleon, 29 Knuts in a Sickle. A nod to predecimal pound sterling? Dinero.js already supports such currencies. And with this PR, support will be first-class ✨ github.com/dinerojs/diner…

Sarah Dayan (@frontstuff_io) 's Twitter Profile Photo

Designing a generic library is harder than coupling it to specific data types. But it also opens it up to many more use cases. Dinero.js v2 doesn't force you to use a given amount type. You get to choose what makes sense for your use case.

Designing a generic library is harder than coupling it to specific data types. But it also opens it up to many more use cases.

Dinero.js v2 doesn't force you to use a given amount type. You get to choose what makes sense for your use case.
Dinero.js (@dinerojs) 's Twitter Profile Photo

Are you a Deno user? You can safely manipulate & format money in a Deno app with Dinero.js 💵 Check the Deno example by John Hooks github.com/dinerojs/diner…

John Hooks (@_johnhooks) 's Twitter Profile Photo

I wrote up a little case study on an issue I ran into while working on Dinero.js with Sarah Dayan. Initially I couldn’t find good information on optional genetics in TypeScript, so I thought documenting the solution we found was important. johnhooks.io/posts/learning…