node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

thing-js

Thing.js

Thing.js is a framework provides the fastest and easiest way to develop applications for open hardware devices.

Getting Started

Blink an LED without any JavaScript code.

1. Install Thing.js

npm install thing-js

2. Setup board.json

Add a new file board.json and add the below JSON object.

{
  "modules": {
    "led" : { "module": "Led", "pins": 44 }
  },
  "extensions": {
    "blink-led": { "modules": "led" }
  }
}

3. Run

~/path/to/thing-js/thingjs

API Documentation

Check the API documentation to see how to control hardware modules on a dev board.

Supported Boards

Maintainers