Built something? We create video reels & spotlights for GitHub projects.Promote your project →
sanity-io
Home / TypeScript / client

sanity-io/client

JavaScript client for retrieving, creating and patching data from Sanity.io

TypeScript ◇ client-library MIT
★114STARS
⑂35FORKS
!38ISSUES
🏆#6,475GLOBAL RANK
🔥5DAYS TRENDING
🚀
Maintainer Growth Kit for client

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for sanity-io/client
CSV

Momentum

+10

STARS · LAST 30 DAYS

1

PER DAY

#672

MOST-STARRED TypeScript

Window7 days30 days90 days
Stars gained+7+10+90
Per day111
Forks gained+1+3+10

client gained 10 stars in the last 30 days, about 1 a day, and now has 114. It is about 5 years old and has averaged roughly 23 stars a year. It ranks #672 among TypeScript repositories and #6,475 across all languages on GitHubRepo.

Trending Record

client has maintained a continuous presence across global trending indexes, peaking at #2370. Below is the 30-day activity profile:

💡 Overview

client is an open-source project written in TypeScript: JavaScript client for retrieving, creating and patching data from Sanity.io.

Engineered for speed, consistency, and developer ease, it solves common hurdles in client-library, javascript, sanity. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in TypeScript for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ npm install client

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

Node.js >= 18, npm, pnpm or bun

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

client coordinates its core functionality through a modular TypeScript pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

🎯 Production Use Cases

Command-Line Automation

Execute automated build, deployment, and maintenance tasks directly from the terminal.

CI/CD Workflow Integration

Run non-interactive validation checks in GitHub Actions, GitLab CI, or local pre-commit hooks.

Developer Environment Setup

Standardize local engineering workstations with single-binary utility commands.

Scripting & Pipeline Orchestration

Chain complex multi-stage scripts with reliable error reporting and exits.

🚀 Getting Started

1

Install client using your package manager: `npm install client`

2

Initialize your project workspace or configuration file for client.

3

Import client into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `client --help` to verify successful setup.

👍 Strengths

Active community backing with 114 GitHub stars and verified adoption.
Permissive open-source distribution under the MIT license.
Built in TypeScript for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with TypeScript and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

F
freeCodeCamp/freeCodeCamp ★ 456.3K TypeScript

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

Compare ↗
D
deepseek-ai/deepseek-harness ★ 237.6K TypeScript

DeepSeek Harness: Everything is a Plugin.

Compare ↗
V
vuejs/vue ★ 212.8K TypeScript

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

Compare ↗
O
anomalyco/opencode ★ 210.4K TypeScript

The open source coding agent.

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with TypeScript, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

sanity-io/client is currently ranked #6,475 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#6,448 john-rocky/coreai-kit Swift ★ 115 Compare ↗
#6,448 devkitshq/notifkit TypeScript ★ 115 Compare ↗
#6,448 Nerdy-Technician/JellyGlance JavaScript ★ 115 Compare ↗
#6,448 davidxu277/alpha-timing Python ★ 115 Compare ↗
#6,448 DingoOz/llm-visuals Rust ★ 115 Compare ↗
#6,475 sanity-io/client This Project TypeScript ★ 114
#6,475 vicaya/hypertable C++ ★ 114 Compare ↗
#6,475 ruby-rdf/sparql-client Ruby ★ 114 Compare ↗
#6,475 mhroth/jvsthost Java ★ 114 Compare ↗
#6,475 cheald/scrap Ruby ★ 114 Compare ↗
#6,475 ALPSCore/ALPSCore C++ ★ 114 Compare ↗

Frequently Asked Questions

What does client do? +

JavaScript client for retrieving, creating and patching data from Sanity.io

What language is client written in? +

The primary language is TypeScript. Topics include: client-library, javascript, sanity, sanity-io.

Is client actively maintained? +

Yes, the last recorded push was on Sep 26, 2026 with 38 open issues being tracked.

How many stars does client have? +

client has 114 stars and 35 forks on GitHub.

How does client rank among GitHub repositories? +

With 114 stars, sanity-io/client is ranked #6,475 globally across all repositories tracked on GitHubRepo and #672 among TypeScript projects.

What license is client distributed under? +

The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.