Skip to content

Commit

Permalink
Merge pull request #9 from DiscoNova/wip/typo-fix
Browse files Browse the repository at this point in the history
Fix minor typos in README
  • Loading branch information
DiscoNova authored Jul 12, 2019
2 parents 6002bb8 + a03511e commit 9e19409
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ A tiny utility function *(like - literally; the function is a one-liner)* to per

If your project only "speaks" CommonJS, you can use:

`const symmetricRound = require('symmetricRound');`
`const symmetricRound = require('symmetric-round');`

...but if you're transpiling with (or otherwise have) full ES6 support:

`import symmetricRound from 'symmetricRound';'`
`import symmetricRound from 'symmetric-round';'`

...**should** work as well. At the time of writing (July 2019), native full ES6 import/export support on JavaScript-engines was still making its entrance to the JavaScript ergosphere.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "symmetric-round",
"version": "1.0.3",
"version": "1.0.4",
"description": "A tiny utility function to perform symmetric rounding (a.k.a. \"commercial rounding\") on a number.",
"keywords": [
"commercial",
Expand Down

0 comments on commit 9e19409

Please sign in to comment.