You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-particle-io-utilities

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-particle-io-utilities

react-particle-io-utilities

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

react-particle-io-utilities

A work in progress repo of React utility components that can be used with the particle.io IoT platform APIs to render some UI around the raw data the APIs return. For example, if you get the RSSI value from an Electron via the API and you want to mirror the signal strength logic as a React UI component (i.e. 1 - 5 bars) you can use the components like so:

<RssiSignalStrength deviceId="electron-id-12345" rssi="-56" />

react-particle-io-utilities

Full example usage code is available in the src/examples directory. Have a look at a live working version here

get started

  • run
npm install --save react-particle-io-utilities
  • bring RssiSignalStrength into your project like so
var {RssiSignalStrength} = require('react-particle-io-utilities')
  • then use it like so
<RssiSignalStrength deviceId="electron-id-12345" rssi="-56" />

FAQs

Package last updated on 01 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts