tfjs and web-ai

These are competitors in the same space—TensorFlow.js is a mature, production-ready framework for browser-based ML with WebGL/WebGPU backends, while web-ai is a lighter-weight library focused on running pre-trained deep learning models in the browser, and developers typically choose one or the other based on whether they need training capabilities or just inference.

tfjs
80
Verified
web-ai
40
Emerging
Maintenance 10/25
Adoption 25/25
Maturity 25/25
Community 20/25
Maintenance 0/25
Adoption 10/25
Maturity 16/25
Community 14/25
Stars: 19,114
Forks: 2,022
Downloads: 1,313,493
Commits (30d): 0
Language: TypeScript
License: Apache-2.0
Stars: 852
Forks: 43
Downloads:
Commits (30d): 0
Language: TypeScript
License: MIT
No risk flags
Archived Stale 6m No Package No Dependents

About tfjs

tensorflow/tfjs

A WebGL accelerated JavaScript library for training and deploying ML models.

Supports both browser and Node.js execution through pluggable backends (WebGL, WebAssembly, WebGPU, and native TensorFlow C++), enabling client-side inference and retraining with sensor data. Provides layered APIs from low-level linear algebra operations to high-level Keras-compatible layers, plus tools to import pre-trained TensorFlow and Keras models. Includes specialized packages for data processing, visualization, and AutoML model loading, with individual module imports available to minimize bundle size.

About web-ai

visheratin/web-ai

Run modern deep learning models in the browser.

Scores updated daily from GitHub, PyPI, and npm data. How scores work