News for hackers. Stuff that matters.
Re:Dinero.js – JavaScript library for working with monetary ... by chrsstrm on Monday April 16, 2018 @04:03PM (#16852202)
I wanted to see how it deals with decimal percentages so I opened the dev console and... Dinero isn't loaded on the page. That's the one thing I love about libs like decimal.js and moment.js - you can open the console and try it right in the documentation.
Re:Dinero.js – JavaScript library for working with monetary ... by sarahdayan on Monday April 16, 2018 @04:05PM (#16852222)
Good call, I’ll fix that
Re:Dinero.js – JavaScript library for working with monetary ... by dguo on Monday April 16, 2018 @07:20PM (#16853873)
One way you can try out npm packages is to use RunKit: https://npm.runkit.com/dinero.js

npm pages for packages all have a "test in your browser" link that goes to RunKit.