Skip to content

Commit

Permalink
added usage examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kirill-dev-pro committed Jun 2, 2023
1 parent c844f67 commit 3e3dafd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@
An adaptation for [npm version of pocketbase js sdk](https://www.npmjs.com/package/pocketbase) with injected [EventSource](https://deno.land/x/eventsource)

Note that npm version of sdk is not locked in this repo, so it can be updated at any time by developers of pocketbase.

## Usage

```ts
import Pocketbase from 'https://deno.land/x/pocketbase/mod.ts'

const pb = new Pocketbase('http://127.0.0.1:8090')
```

0 comments on commit 3e3dafd

Please sign in to comment.