Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    lacrossepublic

    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)

    install

    npm i lacrosse

    Downloadslast 7 days

    1

    version

    0.2.0

    license

    BSD-2-Clause

    repository

    github.com

    last publish

    collaborators

    • avatar
    • avatar