H
huggingface/huggingface.js★ 2,625 · TypeScript
Modular TypeScript SDK for Hub workflows, remote inference, and MCP tools
MIT · Commercial Friendlytasks-v0.22.33
Side-by-side 2026 comparison in LLMs & Inference: huggingface/huggingface_hub leads both total GitHub adoption (★ 4.1k) and recent 7-day momentum. Licensing: MIT · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
Modular TypeScript SDK for Hub workflows, remote inference, and MCP tools
Python SDK and CLI for Hugging Face artifacts, hosted inference, and jobs
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | huggingface/huggingface.js | huggingface/huggingface_hub |
|---|---|---|
| Total GitHub Stars | ★ 2,625 | ★ 4,096 |
| 24h / 7d Velocity | +0 / +11 | +3 / +23 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 98/100 | A+ · 98/100 |
| Deployment Signals | API · MCP | CLI · API |
| Primary Language | TypeScript | Python |
| Commercial License | MIT · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated today | Updated today |
| Latest Release | tasks-v0.22.33 | v2.5.0 |
| Best For | JavaScript or TypeScript teams that need Hub artifact management, hosted inference across supported providers or dedicated endpoints, and optional MCP tool integration | ML teams standardizing how applications and automation discover, cache, and publish Hub artifacts or call Hugging Face hosted services |
InferenceClient targets supported serverless providers and dedicated endpoints via client.endpoint(url).chatCompletionStream() yields incremental chat responses through for await...of.Blob or File objects.npm install @huggingface/hub npm install @huggingface/inference npm install @huggingface/mcp-client
huggingface_hub Python package also installs the hf CLI, which is available separately through a standalone installer.hf_hub_download retrieves one file and snapshot_download retrieves a repository snapshot; downloads use a local cache.create_repo, upload_file, and upload_folder cover repository creation and file or directory uploads.hf models ls --warm discovers models served by Inference Providers; hf jobs run submits a job to Hugging Face infrastructure.# On macOS and Linux. curl -LsSf https://hf.co/cli/install.sh | bash
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy