Skip to content

Commit 7207d6a

Browse files
committed
docs: update readme
1 parent e8a2521 commit 7207d6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ $ npm install blockstore-datastore-adapter
1818
## Usage
1919

2020
```js
21-
const { MemoryStore } = require('interface-datastore')
22-
const BlockstoreDatastoreAdapter = require('blockstore-datastore-adapter')
21+
import { MemoryDatastore } from ('datastore-core/memory')
22+
import { BlockstoreDatastoreAdapter } from 'blockstore-datastore-adapter'
2323

24-
const store = new BlockstoreDatastoreAdapter(new MemoryStore())
24+
const store = new BlockstoreDatastoreAdapter(new MemoryDatastore())
2525
```
2626

2727
## Contribute

0 commit comments

Comments
 (0)