huggingface/huggingface.js
JavaScript/TypeScript SDK for accessing Hugging Face's model hub, inference providers, and managed inference endpoints.

Velocity · 7d
+2.0
★ / day
Trend
→steady
star history
This is a collection of official JS/TS libraries from Hugging Face. The hub package manages repositories (models, datasets) and file operations. The inference package provides serverless access to 100,000+ ML models across providers like SambaNova, Together, Replicate, and Cohere, supporting chat completion, text-to-image, and other model tasks. An MCP client package enables Model Context Protocol integration.