Run ML models in JavaScript
transformers-jsskillsetup L2★0
Sheshiyer/skill-clusters ↗What it does
Run Hugging Face models in JavaScript/TypeScript
Best for
Client-side ML inference when avoiding cloud dependencies and server round-trips matter
Inputs
- · model ID
- · task type
- · input text/image
Outputs
- · model inference result
Requires
- · transformers.js npm package
- · Hugging Face Hub
Preconditions
- · Node.js 18+ or modern browser
Failure modes
- · model download timeout
- · insufficient memory
- · unsupported device (WebGPU)
- · quantization mismatch
Trust signals
- · Apache-2.0 licensed
- · official Hugging Face project
- · browser & Node support