lacrosse

0.2.0 • Public • Published

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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    1
  • 0.1.2
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i lacrosse

Weekly Downloads

1

Version

0.2.0

License

BSD-2-Clause

Last publish

Collaborators

  • jed
  • apiology