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.