npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-ld

v1.1.6

Published

[![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)

Downloads

29

Readme

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 [email protected]: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

  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

Samples

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