Skip to content

Commit e001b4d

Browse files
authored
docs: add deno guide
1 parent 768c626 commit e001b4d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,20 @@ const client = new MeiliSearch({
118118

119119
To make this package work with React Native, please add the [react-native-url-polyfill](https://www.npmjs.com/package/react-native-url-polyfill).
120120

121+
#### Deno<!-- omit in toc -->
122+
123+
Usage in a back-end deno environment
124+
125+
```ts
126+
import { MeiliSearch } from "https://esm.sh/meilisearch"
127+
128+
const client = new MeiliSearch({
129+
host: 'http://127.0.0.1:7700',
130+
apiKey: 'masterKey',
131+
})
132+
```
133+
134+
121135
## 🎬 Getting Started
122136

123137
#### Add Documents <!-- omit in toc -->

0 commit comments

Comments
 (0)