Skip to content
JS
Package

@elastic/elasticsearch-mock

Mock utility for the Elasticsearch's Node.js client

v2.1.0, 18 Apr 2025Apache-2.0CommonJSTypes: BundledDev servers and API mockingTesting
$ npm install @elastic/elasticsearch-mock

Key numbers

As of 25 Sept 2026
Weekly downloads
51.6k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
1 year ago
v2.1.0
GitHub stars
50
13 forks
Open issues / PRs
13 / 2
Contributors
-
Commits, last 52 weeks
3

No weekly download data in the snapshot.

51,615 downloads last week, 249,350 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
2.1.0, 18 Apr 20251 year ago
First published
-
Last push to GitHub
15 Jul 202671 days before the snapshot
Repository archived
No
Open issues
13
Open pull requests
2
Commits, last 52 weeks
3
Dependents on npm
5

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
55 kB
Dependencies (3)
find-my-wayinto-streamfast-deep-equal
npm install @elastic/elasticsearch-mock
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@elastic/elasticsearch-mock@2.1.0/
  • unpkghttps://unpkg.com/@elastic/elasticsearch-mock@2.1.0/
  • esm.shhttps://esm.sh/@elastic/elasticsearch-mock@2.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
json-server356.8k-6 months agoESM only-
rewiremock45.3k-1 year agoESM + CommonJS-
zod-schema-faker26.5k-6 months agoESM + CommonJS-
miragejs264.2k-2 years agoESM + CommonJS-
responselike24.6m-11 months agoESM only-
xhr-mock161.6k-6 years agoCommonJS-
bun-bagel5.4k-1 year agoESM only-
reregexp8.7k-3 years agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.