# Transformers.js

> Transformers.js in browser and Node

**Subcategory:** Hugging Face  
**License:** Apache-2.0  
**Source:** https://github.com/huggingface/skills/blob/main/skills/transformers-js/SKILL.md

---

## When it is useful

Use Transformers.js to run state-of-the-art machine learning models directly in JavaScript/TypeScript. Supports NLP (text classification, translation, summarization), computer vision (image classification, object detection), audio (speech recognition, audio classification), and multimodal tasks. Works in browsers and server-side runtimes (Node.js, Bun, Deno) with WebGPU/WASM using pre-trained models from Hugging Face Hub.

## The Catch

Transformers.js in browser/Node. Weight downloads and RAM are the limit.
