Elestia Open Source Ratings

Machine learning in JavaScript

Run machine learning models in the browser or in Node.js, on the device. We rate 7; Transformers.js leads with 8.4 out of 10.

8.4Transformers.jsJS/TS developers who want to run Hugging Face models for embeddings, classification, speech, vision or small LLMs locally in the browser or Node with a pipeline API.4.38.38.27.47.57.2
7.8MediaPipe TasksWeb apps that need real-time face, hand, pose or segmentation tracking from a webcam, with ready-made models.3.27.97.86.56.87.5
7.1node-llama-cppNode.js or Electron apps that need local LLM chat, embeddings or schema-constrained output inside the process, without a separate Ollama server.3.77.66.34.75.86.2
6.8WebLLMTeams building chat or agent features that must run a local LLM in the browser on WebGPU-capable desktops.3.47.36.34.46.07.1
6.6Tesseract.jsApps that need free, private OCR of clean printed text, run in the browser or in Node.js without a server.3.46.94.65.85.65.8
4.5TensorFlow.jsTeams that already ship TF.js or Keras models, or that need to train small models in the browser, and accept a library that is barely maintained.4.06.02.45.25.15.8
2.7brain.jsLearners and hobbyists who want to train a tiny neural net from plain JSON data and can accept an unmaintained library.3.33.81.72.82.24.8

The numbers

Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.

ProjectDownloads, 4 weeksIn a yearGitHub starsCommits, 12 monthsLast npm releaseAdvisories, 24 months
Transformers.js19M×2916k172Oct 20260
MediaPipe Tasks33M×9.738k937Nov 20260
node-llama-cpp1.6M×352.2k50Nov 20260
WebLLM794k×7.519k70Nov 20260
Tesseract.js24M×1439k4Dec 20250
TensorFlow.js2.5M×2.819k1Oct 20240
brain.js17k+39%15k0Jul 20240