From 9b157b399d86272682d80e1a7c8e69e76b784b4a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Fri, 18 May 2018 19:28:17 +0000 Subject: [PATCH 1/2] build: bump core-js from 2.5.3 to 2.5.6 Bumps [core-js](https://github.com/zloirock/core-js) from 2.5.3 to 2.5.6. - [Release notes](https://github.com/zloirock/core-js/releases) - [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md) - [Commits](https://github.com/zloirock/core-js/compare/v2.5.3...v2.5.6) Signed-off-by: dependabot[bot] --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1be685b..7bfee4c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2985,9 +2985,9 @@ "dev": true }, "core-js": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.3.tgz", - "integrity": "sha1-isw4NFgk8W2DZbfJtCWRaOjtYD4=" + "version": "2.5.6", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.6.tgz", + "integrity": "sha512-lQUVfQi0aLix2xpyjrrJEvfuYCqPc/HwmTKsC/VNf8q0zsjX7SQZtp4+oRONN5Tsur9GDETPjj+Ub2iDiGZfSQ==" }, "core-util-is": { "version": "1.0.2", From 742f45223232a824cdd077d5aae1a4bb5c2aa26b Mon Sep 17 00:00:00 2001 From: Cole Bemis Date: Fri, 18 May 2018 16:59:19 -0700 Subject: [PATCH 2/2] docs: Update README.md --- README.md | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 7c4e995..4ce992c 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Feather is a collection of simply beautiful open source icons. Each icon is desi https://feathericons.com -```sh +```shell npm install feather-icons ``` @@ -77,7 +77,7 @@ The following are additional ways you can use Feather. Install with [npm](https://docs.npmjs.com/getting-started/what-is-npm). -``` +```shell npm install feather-icons --save ``` @@ -85,13 +85,15 @@ Or just copy [`feather.js`](https://unpkg.com/feather-icons/dist/feather.js) or #### 2. Include -Include `feather.js` or `feather.min.js` with a ` ``` -Or load the script from a CDN provider. +> **Note:** `feather.js` and `feather.min.js` are located in the `dist` directory of the npm package. + +Or load the script from a CDN provider: ```html @@ -103,7 +105,7 @@ After including the script, `feather` will be available as a global variable. #### 3. Use -To use an icon on your page, add a `data-feather` attribute with the icon name to an element. +To use an icon on your page, add a `data-feather` attribute with the icon name to an element: ```html @@ -113,7 +115,7 @@ See the complete list of icons at [feathericons.com](https://feathericons.com). #### 4. Replace -Call the `feather.replace()` method. +Call the `feather.replace()` method: ```html