Skip to content

Commit

Permalink
docs(readme): Add note about globally available library
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahdayan committed Apr 17, 2018
1 parent 26c83d0 commit 1d53e15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ import Dinero from 'path/to/esm/dinero.js'

Dinero.js makes it easy to create, calculate and format monetary values in JavaScript. You can perform arithmetic operations, extensively parse and format them, check for a number of things to make your own development process easier and safer.

**Note:** The library is globally available in the docs for you to be able to test it right in the browser console.

To get started, you need to create a new Dinero instance. Amounts are specified in **cents**. You can also specify an [ISO 4217 currency code][wiki:iso-4217] (default is `USD`).

This represents €50:
Expand Down

0 comments on commit 1d53e15

Please sign in to comment.