Browse Source

Missing comma

emp
Luke Childs 7 years ago
committed by Jytesh
parent
commit
14726514bc
  1. 2
      packages/keyv/README.md

2
packages/keyv/README.md

@ -111,7 +111,7 @@ const keyv = new Keyv({ store: lru });
You can namespace your Keyv instance to avoid key collisions and allow you to clear only a certain namespace while using the same database.
```js
const users = new Keyv('redis://user:pass@localhost:6379' { namespace: 'users' });
const users = new Keyv('redis://user:pass@localhost:6379', { namespace: 'users' });
const cache = new Keyv('redis://user:pass@localhost:6379', { namespace: 'cache' });
await users.set('foo', 'users'); // true

Loading…
Cancel
Save