Skip to content
Node.js library for the Lego Dimensions Toypad
Branch: master
Clone or download
Latest commit f54b177 Oct 2, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
data Fixed syntax errors, added more tokens May 9, 2017
docs Reworked file layout Nov 2, 2015
extra Updated constants and ToyPad with latest protocol definitions Nov 4, 2015
samples fixed wrong relative path to charactermap.json Jan 5, 2017
.npmignore Fixed npm with an actual working build Feb 12, 2016 Reworked file layout Nov 2, 2015 NPM Stats Mar 29, 2016
package.json Publish May 9, 2017

Node.js Lego Dimensions Library

Join the chat at


NOTE: This does not currently work for the Xbox version of the toypad. It will connect but no responses will be received. If someone manages to get it working, please let me know so I can make this more compatible.


Node.js 4.1 or newer. Tested and developed on node.js 4.1+

I also have a repo available for PC and Arm

wget -O - | sudo bash -
sudo apt-get update
sudo apt-get install nodejs




git clone
cd node-ld
npm install

Windows libUSB setup (Only if using LibUSBTransport)

The following instructions are only needed if using the LibUSBTransport.

The default transport is HIDTransport and works without a driver install.

Install node-4.1.2 (Latest version that works with node-usb) 32Bit or 64Bit

Use Zadig to (In tools folder) to install the USB driver

  1. Connect the ToyPad
  2. Launch Zadig
  3. Select Options > List All Devices
  4. Use the dropdown to select LEGO READER V2.10
  5. Click Install Driver
  6. You may have to unplug and replug the portal for it to take effect.
  7. At this point, this library should connect to it via the LibUSBTransport


See demo.js and toypadDemo.js in the samples folder for example usage

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.