From a03511e695eb10463e3d3075b94162cbe0c6d9a7 Mon Sep 17 00:00:00 2001 From: "Markku Post (Uttula)" Date: Fri, 12 Jul 2019 05:27:35 +0300 Subject: [PATCH] Fix minor typos in README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The package name is not supposed to be in camelCaseā€¦ --- README.md | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dc2a0ea..d9943b9 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/package.json b/package.json index 4242f81..2d83bbc 100644 --- a/package.json +++ b/package.json @@ -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",