Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ivkan committed Aug 14, 2023
1 parent e8b7c20 commit 41f7cbd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@

`npm install topgun-lmdb-adapter`

## How to use adapter

```js
import { TGServer } from 'topgun/server';
import { createLMDBAdapter } from 'topgun-lmdb-adapter';

const server = new TGServer({
adapter: createLMDBAdapter(),
port: 8765
});
```

## License

MIT

0 comments on commit 41f7cbd

Please sign in to comment.