# Huggingface.Js

## Docs

- [Hugging Face JS libraries](https://huggingface.co/docs/huggingface.js/index.md)
- [🤗 Hugging Face Hub API](https://huggingface.co/docs/huggingface.js/hub/README.md)
- [@huggingface/hub](https://huggingface.co/docs/huggingface.js/hub/modules.md)
- [Interface: QuantizationConfig](https://huggingface.co/docs/huggingface.js/hub/interfaces/QuantizationConfig.md)
- [Interface: SpaceEntry](https://huggingface.co/docs/huggingface.js/hub/interfaces/SpaceEntry.md)
- [Interface: CachedRepoInfo](https://huggingface.co/docs/huggingface.js/hub/interfaces/CachedRepoInfo.md)
- [Interface: XetFileInfo](https://huggingface.co/docs/huggingface.js/hub/interfaces/XetFileInfo.md)
- [Interface: TensorInfo](https://huggingface.co/docs/huggingface.js/hub/interfaces/TensorInfo.md)
- [Interface: UserInfo](https://huggingface.co/docs/huggingface.js/hub/interfaces/UserInfo.md)
- [Interface: ModelConfig](https://huggingface.co/docs/huggingface.js/hub/interfaces/ModelConfig.md)
- [Interface: WhoAmIUser](https://huggingface.co/docs/huggingface.js/hub/interfaces/WhoAmIUser.md)
- [Interface: SpaceResourceConfig](https://huggingface.co/docs/huggingface.js/hub/interfaces/SpaceResourceConfig.md)
- [Interface: SpaceResourceRequirement](https://huggingface.co/docs/huggingface.js/hub/interfaces/SpaceResourceRequirement.md)
- [Interface: FileDownloadInfoOutput](https://huggingface.co/docs/huggingface.js/hub/interfaces/FileDownloadInfoOutput.md)
- [Interface: CommitOutput](https://huggingface.co/docs/huggingface.js/hub/interfaces/CommitOutput.md)
- [Interface: SafetensorsShardFileInfo](https://huggingface.co/docs/huggingface.js/hub/interfaces/SafetensorsShardFileInfo.md)
- [Interface: HFCacheInfo](https://huggingface.co/docs/huggingface.js/hub/interfaces/HFCacheInfo.md)
- [Interface: WhoAmIOrg](https://huggingface.co/docs/huggingface.js/hub/interfaces/WhoAmIOrg.md)
- [Interface: CommitEditFile](https://huggingface.co/docs/huggingface.js/hub/interfaces/CommitEditFile.md)
- [Interface: Credentials](https://huggingface.co/docs/huggingface.js/hub/interfaces/Credentials.md)
- [Interface: WhoAmIApp](https://huggingface.co/docs/huggingface.js/hub/interfaces/WhoAmIApp.md)
- [Interface: CachedFileInfo](https://huggingface.co/docs/huggingface.js/hub/interfaces/CachedFileInfo.md)
- [Interface: CommitData](https://huggingface.co/docs/huggingface.js/hub/interfaces/CommitData.md)
- [Interface: DatasetEntry](https://huggingface.co/docs/huggingface.js/hub/interfaces/DatasetEntry.md)
- [Interface: OAuthResult](https://huggingface.co/docs/huggingface.js/hub/interfaces/OAuthResult.md)
- [Interface: CommitFile](https://huggingface.co/docs/huggingface.js/hub/interfaces/CommitFile.md)
- [Interface: RepoId](https://huggingface.co/docs/huggingface.js/hub/interfaces/RepoId.md)
- [Interface: PathInfo](https://huggingface.co/docs/huggingface.js/hub/interfaces/PathInfo.md)
- [Interface: SpaceRuntime](https://huggingface.co/docs/huggingface.js/hub/interfaces/SpaceRuntime.md)
- [Interface: CommitInfo](https://huggingface.co/docs/huggingface.js/hub/interfaces/CommitInfo.md)
- [Interface: CommitDeletedEntry](https://huggingface.co/docs/huggingface.js/hub/interfaces/CommitDeletedEntry.md)
- [Interface: CachedRevisionInfo](https://huggingface.co/docs/huggingface.js/hub/interfaces/CachedRevisionInfo.md)
- [Interface: ModelEntry](https://huggingface.co/docs/huggingface.js/hub/interfaces/ModelEntry.md)
- [Interface: AuthInfo](https://huggingface.co/docs/huggingface.js/hub/interfaces/AuthInfo.md)
- [Interface: SecurityFileStatus](https://huggingface.co/docs/huggingface.js/hub/interfaces/SecurityFileStatus.md)
- [Interface: LfsPathInfo](https://huggingface.co/docs/huggingface.js/hub/interfaces/LfsPathInfo.md)
- [Interface: ListFileEntry](https://huggingface.co/docs/huggingface.js/hub/interfaces/ListFileEntry.md)
- [Interface: SafetensorsIndexJson](https://huggingface.co/docs/huggingface.js/hub/interfaces/SafetensorsIndexJson.md)
- [Class: InvalidApiResponseFormatError](https://huggingface.co/docs/huggingface.js/hub/classes/InvalidApiResponseFormatError.md)
- [Class: \_\_internal\_XetBlob](https://huggingface.co/docs/huggingface.js/hub/classes/_internal_XetBlob.md)
- [Class: HubApiError](https://huggingface.co/docs/huggingface.js/hub/classes/HubApiError.md)
- [`@huggingface/gguf`](https://huggingface.co/docs/huggingface.js/gguf/README.md)
- [@huggingface/tiny-agents](https://huggingface.co/docs/huggingface.js/tiny-agents/README.md)
- [🤗 Hugging Face Inference](https://huggingface.co/docs/huggingface.js/inference/README.md)
- [@huggingface/inference](https://huggingface.co/docs/huggingface.js/inference/modules.md)
- [Interface: HeaderParams](https://huggingface.co/docs/huggingface.js/inference/interfaces/HeaderParams.md)
- [Interface: BodyParams\<T\>](https://huggingface.co/docs/huggingface.js/inference/interfaces/BodyParams.md)
- [Interface: TextGenerationInput](https://huggingface.co/docs/huggingface.js/inference/interfaces/TextGenerationInput.md)
- [Interface: TextGenerationStreamPrefillToken](https://huggingface.co/docs/huggingface.js/inference/interfaces/TextGenerationStreamPrefillToken.md)
- [Interface: UrlParams](https://huggingface.co/docs/huggingface.js/inference/interfaces/UrlParams.md)
- [Interface: AudioToAudioOutput](https://huggingface.co/docs/huggingface.js/inference/interfaces/AudioToAudioOutput.md)
- [Interface: AudioToAudioOutputElem](https://huggingface.co/docs/huggingface.js/inference/interfaces/AudioToAudioOutputElem.md)
- [Interface: TextGenerationStreamOutput](https://huggingface.co/docs/huggingface.js/inference/interfaces/TextGenerationStreamOutput.md)
- [Interface: TextGenerationStreamDetails](https://huggingface.co/docs/huggingface.js/inference/interfaces/TextGenerationStreamDetails.md)
- [Interface: TextGenerationStreamBestOfSequence](https://huggingface.co/docs/huggingface.js/inference/interfaces/TextGenerationStreamBestOfSequence.md)
- [Interface: Logger](https://huggingface.co/docs/huggingface.js/inference/interfaces/Logger.md)
- [Interface: TextGenerationOutput](https://huggingface.co/docs/huggingface.js/inference/interfaces/TextGenerationOutput.md)
- [Interface: BaseArgs](https://huggingface.co/docs/huggingface.js/inference/interfaces/BaseArgs.md)
- [Interface: InferenceProviderMappingEntry](https://huggingface.co/docs/huggingface.js/inference/interfaces/InferenceProviderMappingEntry.md)
- [Interface: TextGenerationStreamToken](https://huggingface.co/docs/huggingface.js/inference/interfaces/TextGenerationStreamToken.md)
- [Interface: Options](https://huggingface.co/docs/huggingface.js/inference/interfaces/Options.md)
- [Class: InferenceClientEndpoint](https://huggingface.co/docs/huggingface.js/inference/classes/InferenceClientEndpoint.md)
- [Class: InferenceClientProviderApiError](https://huggingface.co/docs/huggingface.js/inference/classes/InferenceClientProviderApiError.md)
- [Class: InferenceClient](https://huggingface.co/docs/huggingface.js/inference/classes/InferenceClient.md)
- [Class: InferenceClientHubApiError](https://huggingface.co/docs/huggingface.js/inference/classes/InferenceClientHubApiError.md)
- [Class: InferenceClientError](https://huggingface.co/docs/huggingface.js/inference/classes/InferenceClientError.md)
- [Class: InferenceClientProviderOutputError](https://huggingface.co/docs/huggingface.js/inference/classes/InferenceClientProviderOutputError.md)
- [Class: InferenceClientInputError](https://huggingface.co/docs/huggingface.js/inference/classes/InferenceClientInputError.md)
- [Class: HfInference](https://huggingface.co/docs/huggingface.js/inference/classes/HfInference.md)
- [Namespace: snippets](https://huggingface.co/docs/huggingface.js/inference/modules/snippets.md)
- [🤗 Hugging Face Space Header](https://huggingface.co/docs/huggingface.js/space-header/README.md)
- [@huggingface/mcp-client](https://huggingface.co/docs/huggingface.js/mcp-client/README.md)
