Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmalard committed Jan 25, 2024
1 parent b735565 commit 2d92e7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Ordered keyvalue database type for orbit-db.

## Installation
```
$ pnpm add @orbitdb/ordered-keyvalue
$ pnpm add @orbitdb/ordered-keyvalue-db
```
## Introduction
A `KeyValue` database where you can move entries around. Ideal for situations where order is important (e.g., lists of tabs in a spreadsheet, etc.).
Expand All @@ -15,7 +15,7 @@ A `KeyValue` database where you can move entries around. Ideal for situations wh

```ts
import { createOrbit } from "@orbitdb/core";
import { registerOrderedKeyValue } from "@orbitdb/ordered-keyvalue";
import { registerOrderedKeyValue } from "@orbitdb/ordered-keyvalue-db";

// Register database type. IMPORTANT - must call before creating orbit instance !
registerOrderedKeyValue();
Expand Down

0 comments on commit 2d92e7e

Please sign in to comment.