{"repo":"huggingface/huggingface.js","free":true,"listed":false,"github":"https://github.com/huggingface/huggingface.js","clone":"git clone https://github.com/huggingface/huggingface.js.git","description":"Use Hugging Face with JavaScript","language":"TypeScript","stars":2491,"topics":["api-client","hub","inference","machine-learning","huggingface"],"license":"MIT","category":"machine-learning","readme_excerpt":"Hugging Face JS libraries This is a collection of JS libraries to interact with the Hugging Face API, with TS types included. - @huggingface/hub: Interact with huggingface.co to create or delete repos and commit / download files - @huggingface/inference: Use all supported (serverless) Inference Providers or switch to Inference Endpoints (dedicated) to make calls to 100,000+ Machine Learning models - @huggingface/mcp-client: A Model Context Protocol (MCP) client, and a tiny Agent library, built on top of InferenceClient. - @huggingface/gguf: A GGUF parser that works on remotely hosted files. - @huggingface/dduf: Similar package for DDUF (DDUF Diffusers Unified Format) - @huggingface/tasks: The definition files and source-of-truth for the Hub's main primitives like pipeline tasks, model libraries, etc. - @huggingface/jinja: A minimalistic JS implementation of the Jinja templating engine, to be used for ML chat templates. - @huggingface/space-header: Use the Space mini header outside Hugging Face - @huggingface/ollama-utils: Various utilities for maintaining Ollama compatibility with models on the Hugging Face Hub. - @huggingface/tiny-agents: A tiny, model-agnostic library for building AI agents that can use tools. We use modern features to avoid polyfills and dependencies, so the libraries will only work on modern browsers / Node.js = 18 / Bun / Deno. The libraries are still very young, please help us by opening issues! Installation From NPM To install via NPM, you can download","default_branch":null,"files":null,"tree":[],"storefront":"/r/huggingface","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/huggingface/huggingface.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}