Socket
Book a DemoInstallSign in
Socket

node-ld

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-ld

[![Join the chat at https://gitter.im/ags131/node-ld](https://badges.gitter.im/ags131/node-ld.svg)](https://gitter.im/ags131/node-ld?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

1.1.6
latest
Source
npmnpm
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

Node.js Lego Dimensions Library

Join the chat at https://gitter.im/ags131/node-ld

npm

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.

Requirements

Node.js 4.1 or newer. https://nodejs.org Tested and developed on node.js 4.1+

I also have a repo available for PC and Arm

wget -O - http://repo.ags131.com/install.sh | sudo bash -
sudo apt-get update
sudo apt-get install nodejs

Linux

libusb-1.0

Installation

git clone git@github.com:ags131/node-ld
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

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

Samples

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

FAQs

Package last updated on 09 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.