#45 · Primary category: AI Gateway & API Infrastructure
huggingface.js
Use Hugging Face with JavaScript
Project last updated:08/29/26
GitHub Stars
2.5K
Forks
856
Contributors
382
License
MIT
Why we included this project
For JavaScript projects that need to reach Hugging Face without hand-rolling HTTP calls, this is the official SDK. The packages split cleanly: the hub client handles creating repos, uploading files, and committing from the browser or Node, while the inference client wraps chat completions, text-to-image, and other tasks against both serverless providers and your own dedicated endpoints. TypeScript types ship with every package, and the libraries work from a CDN as plain ES modules, so front-end and edge setups stay light. There is also a GGUF parser, a Jinja implementation for chat templates, and a small Model Context Protocol client for agent tooling. For teams already standardizing on Hugging Face, this gives a typed, maintained path from your code into those models.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
OmniRoute
Open-source AI gateway: one endpoint, 290+ providers (90+ free), 500+ models, auto-fallback, token compression, MCP/A2A, works with Claude Code, Codex, Cursor, Cline, Copilot.
CLIProxyAPI
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini 3.1 Pro, GPT 5.6 Series, Grok 4.5, Claude model through API
kong
🦍 The API and AI Gateway
novu
The open-source communication infrastructure for agents and products
GPT_API_free
Free API for large models, supports GPT, DeepSeek, etc., 10k free points daily, paid plans at 10-20% of official price.