algoliasearch
AlgoliaSearch API JavaScript client
Last updated 7 years ago by haroenv .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install algoliasearch 
SYNC missed versions from official npm registry.

Algolia for JavaScript

The perfect starting point to integrate Algolia within your JavaScript project

NPM version NPM downloads jsDelivr Downloads License

DocumentationInstantSearchCommunity ForumStack OverflowReport a bugFAQSupport

✨ Features

  • Thin & minimal low-level HTTP client to interact with Algolia's API
  • Works both on the browser and node.js
  • UMD and ESM compatible, you can use it with any module loader
  • Built with TypeScript

💡 Getting Started

To get started, you first need to install algoliasearch (or any other available API client package).

All of our clients comes with type definition, and are available for both browser and node environments.

yarn add algoliasearch
# or
npm install algoliasearch

Without a package manager

Add the following JavaScript snippet to the <head> of your website:

<script src="https://cdn.jsdelivr.net/npm/algoliasearch/dist/algoliasearch.umd.min.js"></script>

You can now import the Algolia API client in your project and play with it.

import { algoliasearch } from 'algoliasearch';

const client = algoliasearch('YOUR_APP_ID', 'YOUR_API_KEY');

// or with the lite client
import { liteClient } from 'algoliasearch/lite';

const client = liteClient('YOUR_APP_ID', 'YOUR_API_KEY');

For full documentation, visit the Algolia JavaScript API Client.

❓ Troubleshooting

Encountering an issue? Before reaching out to support, we recommend heading to our FAQ where you will find answers for the most common issues and gotchas with the client. You can also open a GitHub issue

📄 License

The Algolia JavaScript API Client is an open-sourced software licensed under the MIT license.

Current Tags

  • 5.0.0-alpha.112                                ...           alpha (7 months ago)
  • 5.10.0-beta.1                                ...           beta (24 days ago)
  • 5.13.0                                ...           latest (8 days ago)
  • 2.9.7                                ...           legacy (9 years ago)

385 Versions

  • 5.13.0                                ...           8 days ago
  • 5.12.0                                ...           16 days ago
  • 5.11.0                                ...           17 days ago
  • 5.10.2                                ...           23 days ago
  • 5.10.1                                ...           23 days ago
  • 5.10.0-beta.1                                ...           24 days ago
  • 5.10.0                                ...           25 days ago
  • 5.9.1                                ...           a month ago
  • 5.9.0                                ...           a month ago
  • 5.8.1                                ...           a month ago
  • 5.8.0                                ...           a month ago
  • 5.7.0                                ...           a month ago
  • 5.6.1                                ...           2 months ago
  • 5.6.0                                ...           2 months ago
  • 5.5.3                                ...           2 months ago
  • 5.5.2                                ...           2 months ago
  • 5.5.1                                ...           2 months ago
  • 5.5.0                                ...           2 months ago
  • 5.4.3                                ...           2 months ago
  • 5.4.1                                ...           2 months ago
  • 5.4.0                                ...           2 months ago
  • 5.3.2                                ...           2 months ago
  • 5.3.1                                ...           2 months ago
  • 5.3.0                                ...           2 months ago
  • 5.2.5                                ...           2 months ago
  • 5.2.4-beta.6                                ...           2 months ago
  • 5.2.4-beta.5                                ...           2 months ago
  • 5.2.4-beta.4                                ...           2 months ago
  • 5.2.4-beta.3                                ...           2 months ago
  • 5.2.4-beta.2                                ...           2 months ago
  • 5.2.4-beta.1                                ...           2 months ago
  • 5.2.4                                ...           2 months ago
  • 5.2.3                                ...           3 months ago
  • 5.2.2                                ...           3 months ago
  • 5.2.1                                ...           3 months ago
  • 5.1.1                                ...           3 months ago
  • 5.1.0                                ...           3 months ago
  • 5.0.2                                ...           3 months ago
  • 5.0.0                                ...           3 months ago
  • 5.0.0-beta.17                                ...           3 months ago
  • 5.0.0-beta.16                                ...           3 months ago
  • 5.0.0-beta.15                                ...           3 months ago
  • 5.0.0-beta.14                                ...           3 months ago
  • 5.0.0-beta.13                                ...           3 months ago
  • 5.0.0-beta.12                                ...           4 months ago
  • 5.0.0-beta.11                                ...           4 months ago
  • 5.0.0-beta.10                                ...           4 months ago
  • 5.0.0-beta.9                                ...           4 months ago
  • 5.0.0-beta.8                                ...           4 months ago
  • 5.0.0-beta.7                                ...           5 months ago
  • 5.0.0-beta.6                                ...           5 months ago
  • 4.24.0                                ...           5 months ago
  • 5.0.0-beta.5                                ...           5 months ago
  • 5.0.0-beta.4                                ...           5 months ago
  • 5.0.0-beta.3                                ...           5 months ago
  • 5.0.0-beta.2                                ...           6 months ago
  • 5.0.0-beta.1                                ...           7 months ago
  • 5.0.0-alpha.112                                ...           7 months ago
  • 4.23.3                                ...           7 months ago
  • 5.0.0-alpha.111                                ...           7 months ago
  • 5.0.0-alpha.110                                ...           7 months ago
  • 4.23.2                                ...           8 months ago
  • 4.23.1                                ...           8 months ago
  • 4.23.0 [deprecated]           ...           8 months ago
  • 5.0.0-alpha.109                                ...           8 months ago
  • 5.0.0-alpha.108                                ...           8 months ago
  • 5.0.0-alpha.107                                ...           8 months ago
  • 5.0.0-alpha.106                                ...           8 months ago
  • 5.0.0-alpha.105                                ...           8 months ago
  • 5.0.0-alpha.104                                ...           8 months ago
  • 5.0.0-alpha.103                                ...           9 months ago
  • 5.0.0-alpha.102                                ...           9 months ago
  • 5.0.0-alpha.101                                ...           9 months ago
  • 5.0.0-alpha.100                                ...           9 months ago
  • 5.0.0-alpha.99                                ...           10 months ago
  • 5.0.0-alpha.98                                ...           10 months ago
  • 5.0.0-alpha.97                                ...           10 months ago
  • 4.22.1                                ...           10 months ago
  • 4.22.0                                ...           a year ago
  • 4.21.1                                ...           a year ago
  • 4.21.0                                ...           a year ago
  • 5.0.0-alpha.91                                ...           a year ago
  • 5.0.0-alpha.90                                ...           a year ago
  • 5.0.0-alpha.89                                ...           a year ago
  • 5.0.0-alpha.88                                ...           a year ago
  • 5.0.0-alpha.87                                ...           a year ago
  • 5.0.0-alpha.86                                ...           a year ago
  • 5.0.0-alpha.85                                ...           a year ago
  • 5.0.0-alpha.84                                ...           a year ago
  • 5.0.0-alpha.83                                ...           a year ago
  • 5.0.0-alpha.82                                ...           a year ago
  • 4.20.0                                ...           a year ago
  • 5.0.0-alpha.81                                ...           a year ago
  • 5.0.0-alpha.80                                ...           a year ago
  • 5.0.0-alpha.79                                ...           a year ago
  • 5.0.0-alpha.78                                ...           a year ago
  • 5.0.0-alpha.77                                ...           a year ago
  • 5.0.0-alpha.76                                ...           a year ago
  • 5.0.0-alpha.75                                ...           a year ago
  • 4.19.1                                ...           a year ago
  • 4.19.0                                ...           a year ago
  • 5.0.0-alpha.73                                ...           a year ago
  • 4.18.0                                ...           a year ago
  • 5.0.0-alpha.72                                ...           a year ago
  • 5.0.0-alpha.71                                ...           a year ago
  • 5.0.0-alpha.70                                ...           a year ago
  • 5.0.0-alpha.69                                ...           a year ago
  • 5.0.0-alpha.68                                ...           a year ago
  • 4.17.2                                ...           a year ago
  • 5.0.0-alpha.67                                ...           a year ago
  • 5.0.0-alpha.66                                ...           a year ago
  • 5.0.0-alpha.65                                ...           a year ago
  • 4.17.1                                ...           a year ago
  • 5.0.0-alpha.64                                ...           a year ago
  • 5.0.0-alpha.63                                ...           a year ago
  • 5.0.0-alpha.61                                ...           2 years ago
  • 5.0.0-alpha.60                                ...           2 years ago
  • 5.0.0-alpha.59                                ...           2 years ago
  • 5.0.0-alpha.58                                ...           2 years ago
  • 5.0.0-alpha.57                                ...           2 years ago
  • 5.0.0-alpha.56                                ...           2 years ago
  • 5.0.0-alpha.55                                ...           2 years ago
  • 4.17.0                                ...           2 years ago
  • 5.0.0-alpha.54                                ...           2 years ago
  • 4.16.0                                ...           2 years ago
  • 5.0.0-alpha.53                                ...           2 years ago
  • 5.0.0-alpha.52                                ...           2 years ago
  • 4.15.0                                ...           2 years ago
  • 5.0.0-alpha.51                                ...           2 years ago
  • 5.0.0-alpha.50                                ...           2 years ago
  • 5.0.0-alpha.49                                ...           2 years ago
  • 5.0.0-alpha.48                                ...           2 years ago
  • 5.0.0-alpha.47                                ...           2 years ago
  • 5.0.0-alpha.46                                ...           2 years ago
  • 5.0.0-alpha.45                                ...           2 years ago
  • 5.0.0-alpha.44                                ...           2 years ago
  • 5.0.0-alpha.43                                ...           2 years ago
  • 5.0.0-alpha.42                                ...           2 years ago
  • 5.0.0-alpha.41                                ...           2 years ago
  • 5.0.0-alpha.40                                ...           2 years ago
  • 5.0.0-alpha.39                                ...           2 years ago
  • 5.0.0-alpha.38                                ...           2 years ago
  • 5.0.0-alpha.37                                ...           2 years ago
  • 5.0.0-alpha.36                                ...           2 years ago
  • 5.0.0-alpha.35                                ...           2 years ago
  • 5.0.0-alpha.34                                ...           2 years ago
  • 5.0.0-alpha.33                                ...           2 years ago
  • 5.0.0-alpha.32                                ...           2 years ago
  • 5.0.0-alpha.31                                ...           2 years ago
  • 5.0.0-alpha.30                                ...           2 years ago
  • 5.0.0-alpha.29                                ...           2 years ago
  • 4.14.3                                ...           2 years ago
  • 5.0.0-alpha.28                                ...           2 years ago
  • 5.0.0-alpha.27                                ...           2 years ago
  • 5.0.0-alpha.26                                ...           2 years ago
  • 5.0.0-alpha.25                                ...           2 years ago
  • 5.0.0-alpha.24                                ...           2 years ago
  • 5.0.0-alpha.23                                ...           2 years ago
  • 5.0.0-alpha.22                                ...           2 years ago
  • 5.0.0-alpha.21                                ...           2 years ago
  • 5.0.0-alpha.20                                ...           2 years ago
  • 5.0.0-alpha.19                                ...           2 years ago
  • 5.0.0-alpha.18                                ...           2 years ago
  • 5.0.0-alpha.17                                ...           2 years ago
  • 5.0.0-alpha.16                                ...           2 years ago
  • 5.0.0-alpha.15                                ...           2 years ago
  • 5.0.0-alpha.14                                ...           2 years ago
  • 5.0.0-alpha.13                                ...           2 years ago
  • 5.0.0-alpha.12                                ...           2 years ago
  • 5.0.0-alpha.11                                ...           2 years ago
  • 5.0.0-alpha.10                                ...           2 years ago
  • 5.0.0-alpha.9                                ...           2 years ago
  • 5.0.0-alpha.8                                ...           2 years ago
  • 5.0.0-alpha.7                                ...           2 years ago
  • 5.0.0-alpha.6                                ...           2 years ago
  • 5.0.0-alpha.5                                ...           2 years ago
  • 5.0.0-alpha.4                                ...           2 years ago
  • 5.0.0-alpha.3                                ...           2 years ago
  • 5.0.0-alpha.2                                ...           2 years ago
  • 4.14.2                                ...           2 years ago
  • 5.0.0-alpha.1                                ...           2 years ago
  • 4.14.1                                ...           2 years ago
  • 4.14.0                                ...           2 years ago
  • 4.13.1                                ...           2 years ago
  • 4.13.0                                ...           3 years ago
  • 4.12.2                                ...           3 years ago
  • 4.12.1                                ...           3 years ago
  • 4.12.0                                ...           3 years ago
  • 4.11.0                                ...           3 years ago
  • 4.10.5                                ...           3 years ago
  • 4.10.4                                ...           3 years ago
  • 4.10.3                                ...           3 years ago
  • 4.10.2                                ...           3 years ago
  • 4.10.0 [deprecated]           ...           3 years ago
  • 4.9.3                                ...           3 years ago
  • 4.9.2                                ...           3 years ago
  • 4.9.1                                ...           4 years ago
  • 4.9.0                                ...           4 years ago
  • 4.8.6                                ...           4 years ago
  • 4.8.5                                ...           4 years ago
  • 4.8.4                                ...           4 years ago
  • 4.8.3                                ...           4 years ago
  • 4.8.2                                ...           4 years ago
  • 4.8.1                                ...           4 years ago
  • 4.8.0                                ...           4 years ago
  • 4.7.0                                ...           4 years ago
  • 4.6.0                                ...           4 years ago
  • 4.5.1                                ...           4 years ago
  • 4.5.0                                ...           4 years ago
  • 4.4.0                                ...           4 years ago
  • 4.3.1                                ...           4 years ago
  • 4.3.0                                ...           4 years ago
  • 4.2.0                                ...           5 years ago
  • 4.1.0                                ...           5 years ago
  • 4.0.3                                ...           5 years ago
  • 4.0.2                                ...           5 years ago
  • 4.0.1                                ...           5 years ago
  • 4.0.0                                ...           5 years ago
  • 4.0.0-beta.16                                ...           5 years ago
  • 4.0.0-beta.15                                ...           5 years ago
  • 4.0.0-beta.14                                ...           5 years ago
  • 4.0.0-beta.13                                ...           5 years ago
  • 4.0.0-beta.12                                ...           5 years ago
  • 4.0.0-beta.11                                ...           5 years ago
  • 4.0.0-beta.10                                ...           5 years ago
  • 4.0.0-beta.9                                ...           5 years ago
  • 4.0.0-beta.8                                ...           5 years ago
  • 4.0.0-beta.7                                ...           5 years ago
  • 4.0.0-beta.6                                ...           5 years ago
  • 4.0.0-beta.5                                ...           5 years ago
  • 4.0.0-beta.4                                ...           5 years ago
  • 3.35.1                                ...           5 years ago
  • 3.35.0                                ...           5 years ago
  • 3.34.0                                ...           5 years ago
  • 3.33.0                                ...           6 years ago
  • 3.32.1                                ...           6 years ago
  • 3.32.0                                ...           6 years ago
  • 3.31.0                                ...           6 years ago
  • 3.30.0                                ...           6 years ago
  • 3.29.0                                ...           6 years ago
  • 3.28.0                                ...           6 years ago
  • 3.27.1                                ...           7 years ago
  • 3.27.0                                ...           7 years ago
  • 3.26.0                                ...           7 years ago
  • 3.25.1                                ...           7 years ago
  • 3.25.0                                ...           7 years ago
  • 3.24.12                                ...           7 years ago
  • 3.24.11                                ...           7 years ago
  • 3.24.10                                ...           7 years ago
  • 3.24.9                                ...           7 years ago
  • 3.24.8                                ...           7 years ago
  • 3.24.7                                ...           7 years ago
  • 3.24.6 [deprecated]           ...           7 years ago
  • 3.24.5                                ...           7 years ago
  • 3.24.4                                ...           7 years ago
  • 3.24.3                                ...           7 years ago
  • 3.24.2                                ...           7 years ago
  • 3.24.1                                ...           7 years ago
  • 3.24.0                                ...           7 years ago
  • 3.23.0                                ...           7 years ago
  • 3.22.3                                ...           7 years ago
  • 3.22.2                                ...           7 years ago
  • 3.22.1                                ...           8 years ago
  • 3.22.0                                ...           8 years ago
  • 3.21.1                                ...           8 years ago
  • 3.21.0                                ...           8 years ago
  • 3.20.4                                ...           8 years ago
  • 3.20.3                                ...           8 years ago
  • 3.20.2                                ...           8 years ago
  • 3.20.1                                ...           8 years ago
  • 3.20.0                                ...           8 years ago
  • 3.19.2                                ...           8 years ago
  • 3.19.1                                ...           8 years ago
  • 3.19.0                                ...           8 years ago
  • 3.18.1                                ...           8 years ago
  • 3.18.0                                ...           8 years ago
  • 3.17.0                                ...           8 years ago
  • 3.16.0                                ...           8 years ago
  • 3.15.1                                ...           8 years ago
  • 3.15.0                                ...           8 years ago
  • 3.14.6                                ...           8 years ago
  • 3.14.5                                ...           8 years ago
  • 3.14.4                                ...           8 years ago
  • 3.14.3                                ...           8 years ago
  • 3.14.2                                ...           8 years ago
  • 3.14.1                                ...           9 years ago
  • 3.14.0                                ...           9 years ago
  • 3.13.1                                ...           9 years ago
  • 3.13.0                                ...           9 years ago
  • 3.12.0                                ...           9 years ago
  • 3.11.0                                ...           9 years ago
  • 3.10.2                                ...           9 years ago
  • 3.10.1                                ...           9 years ago
  • 3.10.1-beta1                                ...           9 years ago
  • 3.10.1-beta                                ...           9 years ago
  • 3.10.0                                ...           9 years ago
  • 3.9.4                                ...           9 years ago
  • 3.9.3                                ...           9 years ago
  • 3.9.2                                ...           9 years ago
  • 3.9.1                                ...           9 years ago
  • 3.9.0                                ...           9 years ago
  • 3.8.1                                ...           9 years ago
  • 3.8.0                                ...           9 years ago
  • 3.7.8                                ...           9 years ago
  • 3.7.7                                ...           9 years ago
  • 3.7.6                                ...           9 years ago
  • 3.7.5                                ...           9 years ago
  • 3.7.4                                ...           9 years ago
  • 3.7.3                                ...           9 years ago
  • 3.7.2                                ...           9 years ago
  • 3.7.1                                ...           9 years ago
  • 3.7.0                                ...           9 years ago
  • 3.6.3                                ...           9 years ago
  • 3.6.2                                ...           9 years ago
  • 3.6.1                                ...           9 years ago
  • 3.6.0                                ...           9 years ago
  • 3.5.0                                ...           9 years ago
  • 2.9.7                                ...           9 years ago
  • 3.4.0                                ...           9 years ago
  • 3.3.2                                ...           10 years ago
  • 3.3.1                                ...           10 years ago
  • 3.3.0                                ...           10 years ago
  • 3.2.4                                ...           10 years ago
  • 3.2.3                                ...           10 years ago
  • 3.2.2                                ...           10 years ago
  • 3.2.1                                ...           10 years ago
  • 3.2.0                                ...           10 years ago
  • 3.1.0                                ...           10 years ago
  • 3.0.7                                ...           10 years ago
  • 2.9.6                                ...           10 years ago
  • 3.0.6                                ...           10 years ago
  • 3.0.5                                ...           10 years ago
  • 3.0.4                                ...           10 years ago
  • 2.9.5                                ...           10 years ago
  • 3.0.3                                ...           10 years ago
  • 3.0.2                                ...           10 years ago
  • 3.0.1                                ...           10 years ago
  • 3.0.0                                ...           10 years ago
  • 2.9.4                                ...           10 years ago
  • 2.9.3                                ...           10 years ago
  • 2.9.2                                ...           10 years ago
  • 2.9.1                                ...           10 years ago
  • 2.9.0                                ...           10 years ago
  • 2.8.6                                ...           10 years ago
  • 2.8.5                                ...           10 years ago
  • 2.8.4                                ...           10 years ago
  • 2.8.3                                ...           10 years ago
  • 2.8.2                                ...           10 years ago
  • 2.8.1                                ...           10 years ago
  • 2.8.0                                ...           10 years ago
  • 2.7.5                                ...           10 years ago
  • 2.7.4                                ...           10 years ago
  • 2.7.3                                ...           10 years ago
  • 2.7.2                                ...           10 years ago
  • 2.7.1                                ...           10 years ago
  • 2.7.0                                ...           10 years ago
  • 2.6.6                                ...           10 years ago
  • 2.6.4                                ...           10 years ago
  • 2.6.3                                ...           10 years ago
  • 2.6.2                                ...           10 years ago
  • 2.6.1                                ...           10 years ago
  • 2.6.0                                ...           10 years ago
  • 2.5.4                                ...           10 years ago
  • 2.5.3                                ...           10 years ago
  • 2.5.2                                ...           10 years ago
  • 2.5.1                                ...           11 years ago
  • 2.5.0                                ...           11 years ago
  • 2.4.7                                ...           11 years ago
  • 2.4.6                                ...           11 years ago
  • 2.4.5                                ...           11 years ago
  • 2.4.4                                ...           11 years ago
  • 2.4.3                                ...           11 years ago
  • 2.4.2                                ...           11 years ago
  • 2.4.0                                ...           11 years ago
  • 2.3.7                                ...           11 years ago
  • 2.3.6                                ...           11 years ago
  • 2.3.5                                ...           11 years ago
  • 2.3.4                                ...           11 years ago
  • 2.3.3                                ...           11 years ago
  • 2.3.2                                ...           11 years ago
  • 2.3.1                                ...           11 years ago
  • 2.3.0                                ...           11 years ago
  • 2.2.0                                ...           11 years ago
  • 2.1.1                                ...           11 years ago
  • 2.1.0                                ...           11 years ago
Downloads
Total 2
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (15)
Dev Dependencies (44)

© 2010 - cnpmjs.org x YWFE | Home | YWFE