BrainJS/brain.js
🤖 GPU accelerated Neural networks in JavaScript for Browsers and Node.js observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3854
- days_rel: n/a
- days_push: 706
- n_releases_24m: 0
Adoption not part of the score
14861 stars · 1077 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
brain.js is a GPU-accelerated neural network library written in JavaScript/TypeScript that runs in both browsers and Node.js. It supports feed-forward, recurrent (RNN, LSTM, GRU), and convolutional networks with a simple, easy-to-use API.
Use cases
- train a neural network in the browser
- run machine learning in node.js without python
- predict time series values with LSTM in javascript
- build a simple classifier with a feed-forward network
- gpu accelerated neural network training in javascript
- forecast future values from historical data in the browser
When to choose
- you want neural networks in JavaScript for browser or Node.js without a Python toolchain
- you need a simple, beginner-friendly API for feed-forward, RNN, LSTM, or GRU networks
- you want GPU acceleration for training in the browser via WebGL
When to avoid
- you need large-scale deep learning with modern architectures like transformers
- you require an extensive ecosystem of ML tooling, model zoos, and research implementations
- you need production-grade training performance comparable to PyTorch or TensorFlow
Facets
library · maturity active
machine-learning deep-learning machine-learning deep-learning artificial-intelligence browser cross-platform neural-networks gpu-accelerated lstm rnn time-series javascript typescript nodejs
3 sources
- readme: https://github.com/BrainJS/brain.js · fetched 2026-08-28 · b6c87cd668a1
- homepage: https://brain.js.org · fetched 2026-08-29 · e6c499e06d21
- registry_npm: https://registry.npmjs.org/brain.js · fetched 2026-08-29 · bf50f4d81b4e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| BrainJS/brain.js | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="BrainJS/brain.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem