0.2.0 • Published 9 years ago

lacrosse v0.2.0

Weekly downloads
1
License
BSD-2-Clause
Repository
github
Last release
9 years ago

node-lacrosse

A node.js streaming API for Lacrosse Alert sensors.

Usage

var lacrosse = require("lacrosse")

var client = new lacrosse.Client({
  username: "MY USERNAME",
  password: "MY PASSWORD"
})

client.on("login", function() {
  console.log("you have %s devices.", client.devices.length)
})

var device = new client.Device("MY DEVICE ID")
var stream = device.createReadStream()

stream.on("data", console.log)
0.2.0

9 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago