meilisearch-js
meilisearch-js copied to clipboard
JavaScript client for the Meilisearch API
It is not rare that we get problems regarding outdated code samples. We should create a script that generates temporary TypeScript code from the examples before the type checker runs,...
Test files usually contain a set of the following tests: - URL construction tests ```typescript describe.each([ { host: BAD_HOST, trailing: false }, { host: `${BAD_HOST}/api`, trailing: false }, { host:...
### Why JSR - https://jsr.io/docs/why - primarily because it is the default registry for [`deno`](https://deno.com/), but also it's striving to be (and already is a superset of) the replacement for...
# Pull Request ## What does this PR do? - remove tons of unnecessary bloat from the `README.md`, keep and refactor only what matters - remove table of contents, GitHub...
Currently there are two sizeable classes exported: `MeiliSearch` and `Index`. They contain a lot of methods, whereas the overwhelming majority of websites would only require the `search` method. We should...
**Description** The following test is failing: ``` FAIL tests/search.test.ts > Test on abortable search > Master key: search should be aborted when reaching timeout AssertionError: expected value to not resolve...
# Pull Request I'm not entirely sure if this will run properly, we might only find out once it's merged. ## Related issue Fixes #1868 ## What does this PR...
``` Error: AssertionError: expected {} to deeply equal { default: { …(7) } } - Expected + Received - { - "default": { - "binaryQuantized": false, - "distribution": { -...
JSDoc documentation is missing for most exported symbols, and could use some improvements on existing ones. In addition, I think most methods that are already documented on the [API reference](https://www.meilisearch.com/docs/reference/api/overview)...
# Pull Request ## What does this PR do - switches package manager to [`npm`](https://www.npmjs.com/) - updates and shortens GitHub actions regarding the setup of Node.js with the help of...