Skip to content
JS
Package

@sanity/client

Client for retrieving, creating and patching data from Sanity.io

v8.7.0, 23 Sept 2026MITESM onlyTypes: Bundled
$ npm install @sanity/client

Key numbers

As of 25 Sept 2026
Weekly downloads
2.3m
+205% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
1 day ago
v8.7.0
GitHub stars
114
36 forks
Open issues / PRs
21 / 16
Contributors
-
Commits, last 52 weeks
145

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 3m (8 Sept 2026)Low 415.8k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,256,886 downloads last week, 10,821,187 in the last month. The 12-month change of +205% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
35412 in total
Latest version
8.7.0, 23 Sept 20261 day ago
First published
21 Sept 2016
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
21
Open pull requests
16
Commits, last 52 weeks
145
Dependents on npm
308

Major versions

  1. v8 first release 8.0.0, 12 Aug 2026
  2. v7 first release 7.0.0, 30 Apr 2025
  3. v6 first release 6.0.0, 3 May 2023
  4. v5 first release 5.0.0, 2 Feb 2023
  5. v4 first release 4.0.0, 2 Jan 2023
  6. v3 first release 3.0.0, 27 Jan 2022
  7. v2 first release 2.0.1, 7 Oct 2020
  8. v1 first release 1.148.0, 12 Feb 2020
  9. v0 first release 0.0.1, 21 Sept 2016

Recent releases

VersionPublished
8.7.023 Sept 2026
8.6.215 Sept 2026
8.6.18 Sept 2026
8.6.07 Sept 2026
7.27.03 Sept 2026
8.5.03 Sept 2026
8.4.027 Aug 2026
8.3.026 Aug 2026
8.2.019 Aug 2026
8.1.017 Aug 2026
8.0.012 Aug 2026
7.26.24 Aug 2026
7.26.14 Aug 2026
7.26.030 Jul 2026
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.12.0
Runtimes
-
Unpacked size (npm)
3.4 MB
Dependencies (4)
obugrxjsget-iteventsource
npm install @sanity/client
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@sanity/client@8.7.0/
  • unpkghttps://unpkg.com/@sanity/client@8.7.0/
  • esm.shhttps://esm.sh/@sanity/client@8.7.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.