JavaScript SDK

The official JavaScript client for Meilisearch, with full TypeScript support for Node.js and browser environments.

Quick start

Install
$ npm install meilisearch

Features

Everything you need to integrate Meilisearch with JavaScript SDK.

TypeScript support

Full TypeScript definitions included out of the box.

Universal

Works in Node.js, browsers, and edge runtimes.

Async/await

Promise-based API for modern JavaScript.

Search helpers

Built-in helpers for common search patterns.

Index management

Full API for managing indexes and settings.

ESM & CJS

Supports both ES modules and CommonJS.

Ready to get started?

Start using JavaScript SDK with Meilisearch Cloud today.