Skip to content

Commit

Permalink
docs: typo in package name (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux authored Mar 13, 2021
1 parent bbca3c3 commit ca50cd5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@

## Usage

Install `unistorage` npm package:
Install `unstorage` npm package:

```sh
yarn add unistorage
yarn add unstorage
# or
npm i unistorage
npm i unstorage
```

```js
import { createStorage } from 'unistorage'
import { createStorage } from 'unstorage'

const storage = createStorage(/* opts */)

Expand Down Expand Up @@ -147,8 +147,8 @@ By default, everything is stored in memory. We can mount additional storage spac
When operating with a `key` that starts with mountpoint, instead of default storage, mounted driver will be called.

```js
import { createStorage } from 'unistorage'
import fsDriver from 'unistorage/drivers/fs'
import { createStorage } from 'unstorage'
import fsDriver from 'unstorage/drivers/fs'

// Create a storage container with default memory storage
const storage = createStorage()
Expand Down

0 comments on commit ca50cd5

Please sign in to comment.