Skip to content
A JavaScript deep learning and reinforcement learning library.
Branch: experimental
Clone or download

Latest commit

Latest commit 7927cad Mar 18, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Updated pretrained agent. Apr 7, 2019
images Make heading flat Mar 18, 2020
src Optimized algorithms for faster convergence. Apr 7, 2019
.gitignore Removed built lib from repo. Mar 19, 2019
LICENSE improved readme Mar 1, 2017 Make heading flat Mar 18, 2020
package.json Fix security by up-ing package versions Mar 17, 2020
webpack.config.js Optimized algorithms for faster convergence. Apr 7, 2019

Spline Solver

neurojs is a JavaScript framework for deep learning in the browser. It mainly focuses on reinforcement learning, but can be used for any neural network based task. It contains neat demos to visualise these capabilities, for instance a 2D self-driving car.

Feel free to contribute. The development on such projects is more awesome in a community!

Note: this repo is no longer maintained since more general frameworks such as TensorFlow-JS emerged, which I recommend you to use.


  • Implements a full-stack neural-network based machine learning framework
  • Extended reinforcement-learning support
    • Uniform and prioritised replay buffers
    • Advantage-learning (increasing the action-gap)
    • Support for deep-q-networks and actor-critic models (via deep-deterministic-policy-gradients)
  • Binary import and export of network configurations (weights etc.)
  • High-performance


Running the examples

npm install
npm start

Open http://localhost:8080/examples/ in your browser and select the demo you want to run.

What's next?

  • More examples (pong, pendulum, snake,improved cars, etc.)
  • Support for web workers
  • LSTM and backpropagation through time
You can’t perform that action at this time.