meilisearch-js
meilisearch-js copied to clipboard
JavaScript client for the Meilisearch API
Currently, the jsDocs comments are quite rudimentary and would win by being more complete. For example, default values could be added where they are present Example: ```js /** * ......
To avoid confusing between the version of the engine [meilisearch](https://github.com/meilisearch/meilisearch/) and this package [meilisearch](https://github.com/meilisearch/meilisearch-js/) it could be wise to suffix the package with the now-common `.js`. This would imply Changing...
This is a simple query. Why cannot exceptions be caught and the process exits How do I do it? ``` async getIndex(name){ if(!name){ return null; } try{ var rs =...
Following the integration-guides issue [#201](https://github.com/meilisearch/integration-guides/issues/201) we must implement the automatic documentation in this SDK. - [ ] Decide which module will be used. - [ ] Implement it based on...
A lot of field that contain date information are defined as string, example: https://github.com/meilisearch/meilisearch-js/blob/746de52be29128d26f26b51b87b0d2e6d5b566b8/src/types/types.ts#L219-L220 These should become `Date` types
Cypress is a library to run tests in a browser. To ensure this package work, we would like to add tests with Cypress. Follow this guide to implement it: https://github.com/meilisearch/integration-guides/blob/main/guides/cypress.md...
## Creating Objects in Javascript > Prior to ES6, there was a lot of confusion about the differences between a factory function and a constructor function in JavaScript. Since ES6...
Since we removed `axios` and we are using `fetch`: > By default a fetch() request timeouts at the time setup by the browser. In Chrome, for example, this setting equals...
Before any publish we should test the packages with npm pack during CI testing. ## How to use npm pack `npm pack` generated a `tgz` file that will the same...
Not a big deal, but we should remove the following wording - `private key` - `public key` from our test (even the variable names if there are any) and any...