tensorflow/tfjs
A JavaScript library for training and deploying machine learning models in browsers and Node.js.

Not currently ranked — collecting fresh signals.
star history
TensorFlow.js is a hardware-accelerated JavaScript library that enables machine learning directly in the browser and Node.js. It provides low-level and high-level APIs (similar to Keras) for building neural networks from scratch, tools to import existing TensorFlow models, and multiple execution backends including WebGL, WebAssembly, WebGPU, and native TensorFlow.
Frequently asked
- What is tensorflow/tfjs?
- A JavaScript library for training and deploying machine learning models in browsers and Node.js.
- Is tfjs open source?
- Yes — tensorflow/tfjs is open source, released under the Apache-2.0 license.
- What language is tfjs written in?
- tensorflow/tfjs is primarily written in TypeScript.
- How popular is tfjs?
- tensorflow/tfjs has 19.1k stars on GitHub.
- Where can I find tfjs?
- tensorflow/tfjs is on GitHub at https://github.com/tensorflow/tfjs.