meilisearch / meilisearch-js

JavaScript client for the Meilisearch API
https://www.meilisearch.com
MIT License
746 stars 90 forks source link

Generalize `MeiliSearch` client for all borwsers/runtimes #1690

Closed flevi29 closed 1 week ago

flevi29 commented 2 months ago

The one and only difference between "browser" and "node" client is generateTenantToken and Token, everything else is based on web standards. I don't think it's worthwhile complicating the client over this.

This would involve splitting Node.js specific crypto code into its own export, waiting on #1611 for this.

Qodestackr commented 1 month ago

DOES IT WORK WITH LTS 20? I am not using v18

flevi29 commented 1 month ago

Yes. This project is tested on and officially supports Node.js LTS versions, which are 20 and 18 as of writing this.