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 🙏

© 2026 – Pkg Stats / Ryan Hefner

iotkit-client

v0.3.0

Published

Edge client for IoT Kit Cloud

Readme

iotkit-client

Edge client for IoT Kit Cloud

Client

Iot Kit Client is a node module that can easily be embedded in another Node.js application or run on its own.

Install

npm install iotkit-client

Configuration

  • Rename config-sample.json to config.json
  • Enter your IoT Kit api_access_key
  • Define provider of your choice (see Provider Configuration for details)

Start

./start.sh

Stop

./stop.sh

Device Id

Each device connecting to the IoT Kit Cloud, must provide globally unique device id. The IoT Kit Client has a way of defining deriving such id itself, or using one manually entered into the config.json file.

Set Device Id Manually

Enter your preferred device Id into cloud.options.clientId in the config.json file.

Remember, this Id must be globally unique

Dynamically derived Id

If the cloud.options.clientId value in the config.json file is not set, or set to null, the IoT Kit Client will derive the id dynamically. To find out what that Id is for your device simply run this command on the deice:

node device

The returned Id is derived from the network MAC address and should be constant in your current hardware configuration. Remember, if you change from WiFi to Ethernet for example, that Id will change.

Providers

The IoT Client implements provider pattern where the hardware specific code can be easily swappable depending on the necessary functionality and the underlining hardware. By default, the IoT Kit comes with the following providers:

  • Intel® Galileo (under development)
  • Ninja Block Sensors
  • OS-level Sensors (default)

Ninja Block

To use IoT Kit Client with Ninja Blocks, simply follow the above instructions, but, before starting the client follow these simple steps:

Install Dependancies

npm install ninja-blocks

Configure User Access Token

In config.json in the root of the client, define the provider.src to ./provider/ninja/ninja-provider.js and in the args portion of the provider enter your user_access_token. You can find your user_access_token at the settings page of Ninja Cloud.