@huggingface/inference
#34 of 203 by Downloads / week among npm packages
Typescript client for the Hugging Face Inference Providers and Inference Endpoints
About
A Typescript powered wrapper that provides a unified interface to run inference across multiple services for models hosted on the Hugging Face Hub:
❗Important note: Always pass an access token. Join Hugging Face and then visit access tokens to generate your access token for free.
Your access token should be kept private. If you need to protect it in front-end applications, we suggest setting up a proxy server that stores the access token.
You can send inference requests to third-party providers with the inference client.
To send requests to a third-party provider, you have to pass the provider parameter to the inference function. The default value of the provider parameter is "auto",…
Excerpted from www.npmjs.com/package/@huggingface/inference
Latest metrics
| Downloads / week | 310.5k | 2026-09-12 |
|---|