transformers-js
Transforms JavaScript applications with state-of-the-art machine learning models for NLP, computer vision, and audio tasks.
Install this skill
Security score
The transformers-js skill was audited on Mar 14, 2026 and we found 31 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 479 | console.log(`${info.status}: ${info.file}`); |
Template literal with variable interpolation in command context
| 483 | console.log(`${info.file}: ${info.progress.toFixed(1)}%`); |
Template literal with variable interpolation in command context
| 487 | console.log(`✓ ${info.file} complete`); |
External URL reference
| 36 | import { pipeline } from 'https://cdn.jsdelivr.net/npm/@huggingface/transformers'; |
External URL reference
| 74 | - **All models**: https://huggingface.co/models?library=transformers.js&sort=trending |
External URL reference
| 76 | - Text generation: https://huggingface.co/models?pipeline_tag=text-generation&library=transformers.js&sort=trending |
External URL reference
| 77 | - Image classification: https://huggingface.co/models?pipeline_tag=image-classification&library=transformers.js&sort=trending |
External URL reference
| 78 | - Speech recognition: https://huggingface.co/models?pipeline_tag=automatic-speech-recognition&library=transformers.js&sort=trending |
External URL reference
| 177 | const result = await classifier('https://example.com/image.jpg'); |
External URL reference
| 185 | const objects = await detector('https://example.com/image.jpg'); |
External URL reference
| 192 | const segments = await segmenter('https://example.com/image.jpg'); |
External URL reference
| 198 | const depth = await depthEstimator('https://example.com/image.jpg'); |
External URL reference
| 270 | https://huggingface.co/models?library=transformers.js&sort=trending |
External URL reference
| 277 | | **Text Generation** | https://huggingface.co/models?pipeline_tag=text-generation&library=transformers.js&sort=trending | |
External URL reference
| 278 | | **Text Classification** | https://huggingface.co/models?pipeline_tag=text-classification&library=transformers.js&sort=trending | |
External URL reference
| 279 | | **Translation** | https://huggingface.co/models?pipeline_tag=translation&library=transformers.js&sort=trending | |
External URL reference
| 280 | | **Summarization** | https://huggingface.co/models?pipeline_tag=summarization&library=transformers.js&sort=trending | |
External URL reference
| 281 | | **Question Answering** | https://huggingface.co/models?pipeline_tag=question-answering&library=transformers.js&sort=trending | |
External URL reference
| 282 | | **Image Classification** | https://huggingface.co/models?pipeline_tag=image-classification&library=transformers.js&sort=trending | |
External URL reference
| 283 | | **Object Detection** | https://huggingface.co/models?pipeline_tag=object-detection&library=transformers.js&sort=trending | |
External URL reference
| 284 | | **Image Segmentation** | https://huggingface.co/models?pipeline_tag=image-segmentation&library=transformers.js&sort=trending | |
External URL reference
| 285 | | **Speech Recognition** | https://huggingface.co/models?pipeline_tag=automatic-speech-recognition&library=transformers.js&sort=trending | |
External URL reference
| 286 | | **Audio Classification** | https://huggingface.co/models?pipeline_tag=audio-classification&library=transformers.js&sort=trending | |
External URL reference
| 287 | | **Image-to-Text** | https://huggingface.co/models?pipeline_tag=image-to-text&library=transformers.js&sort=trending | |
External URL reference
| 288 | | **Feature Extraction** | https://huggingface.co/models?pipeline_tag=feature-extraction&library=transformers.js&sort=trending | |
External URL reference
| 289 | | **Zero-Shot Classification** | https://huggingface.co/models?pipeline_tag=zero-shot-classification&library=transformers.js&sort=trending | |
External URL reference
| 330 | // 1. Visit: https://huggingface.co/models?pipeline_tag=text-generation&library=transformers.js&sort=trending |
External URL reference
| 404 | env.remoteHost = 'https://cdn.example.com/models'; |
External URL reference
| 588 | - Official docs: https://huggingface.co/docs/transformers.js |
External URL reference
| 589 | - API reference: https://huggingface.co/docs/transformers.js/api/pipelines |
External URL reference
| 590 | - Model hub: https://huggingface.co/models?library=transformers.js |
Install this skill with one command
/learn @huggingface/transformers-js