From c89ccd51acfd0c94761ed458b84dcb3f717f312f Mon Sep 17 00:00:00 2001
From: nainardev <59839368+nainardev@users.noreply.github.com>
Date: Mon, 10 Feb 2020 17:44:33 +0530
Subject: [PATCH] Yarn instructions
Don't know how to edit PRs. So, made a new one
Earlier one: (https://github.com/localForage/localForage/pull/930)
---
docs/api.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/api.md b/docs/api.md
index f13e9ef..015b1fd 100755
--- a/docs/api.md
+++ b/docs/api.md
@@ -31,8 +31,8 @@ localForage includes a localStorage-backed fallback store for browsers with no I
# Install via npm:
npm install localforage
-# Or with bower:
-bower install localforage
+# Or, with yarn:
+yarn add localforage
```
```html
@@ -40,7 +40,7 @@ bower install localforage
```
-To use localForage, [download the latest release](https://github.com/mozilla/localForage/releases) or install with [npm](https://www.npmjs.org/) (`npm install localforage`) or [bower](http://bower.io/) (`bower install localforage`).
+To use localForage, [download the latest release](https://github.com/mozilla/localForage/releases) or install with [npm](https://www.npmjs.org/) (`npm install localforage`) or [yarn](http://yarnpkg.com/) (`yarn add localforage`).
Then simply include the JS file and start using localForage: ``. You don't need to run any init method or wait for any `onready` events.