Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including node-slot-car-bot with all npm packages installed. Try it out:

var nodeSlotCarBot = require("node-slot-car-bot")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

node-slot-car-bot v0.0.1

Automate your Slotcar Set with Javascript

Node Slot Car Bot

Automate your Slotcar Set with Javascript


For detailed intructions see the write up on Will Robots Dream.

NPM install node-slot-car-bot

var SlotCarSet = require("node-slot-car-bot");

var MySet = new SlotCarSet();

MySet.on("ready", function(){
    var mySet = this;
    var car = mySet.addCar({pin:6});


See the examples folder.


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free