Skip to content

Commit

Permalink
fix: readme has to point the client arguments at a first place
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzel committed Jan 25, 2023
1 parent 4a49d5f commit 20ce035
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ npm install iomem

## Usage

The constructor accepts two optional arguments - severs list and options object.

```js
const iomem = new Mem(['127.0.0.1:11211'], { timeout: 500, retries: 2 })
...
```

See [Custom servers](#custom-servers) and [Options](#options) for more details.

### Default

```js
Expand Down

0 comments on commit 20ce035

Please sign in to comment.