@makerdao/currency

Utilities for working with currency amounts

Usage no npm install needed!

<script type="module">
  import makerdaoCurrency from 'https://cdn.skypack.dev/@makerdao/currency';
</script>

README

@makerdao/currency

A set of utilities for working with currencies on Ethereum, extracted from dai.js. Available as an NPM module.

Check out the test file to see how this is used.