Skip to content

Commit 66b9344

Browse files
update README
1 parent e030192 commit 66b9344

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,10 @@ For general information on how to use Meilisearch—such as our API reference, t
4747

4848
We recommend installing `meilisearch-js` in your project with your package manager of choice.
4949

50-
If you use `npm`:
51-
5250
```sh
5351
npm install meilisearch
5452
```
5553

56-
If you prefer `yarn`:
57-
58-
```sh
59-
yarn add meilisearch
60-
```
61-
6254
`meilisearch-js` officially supports `node` versions >= 14 and <= 18.
6355

6456
Instead of using a package manager, you may also import the library directly into your [HTML via a CDN](#include-script-tag).
@@ -212,7 +204,7 @@ await index.search(
212204
"title": "Wonder Woman",
213205
"genres": ["Action", "Adventure"],
214206
"_formatted": {
215-
"id": 2,
207+
"id": "2",
216208
"title": "<em>Wonder</em> Woman",
217209
"genres": ["Action", "Adventure"]
218210
}
@@ -278,7 +270,7 @@ await index.search(
278270
'',
279271
{
280272
filter: ['genres = fantasy'],
281-
facetsDistribution: ['genres']
273+
facets: ['genres']
282274
}
283275
)
284276
```

0 commit comments

Comments
 (0)