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

@nrfcloud/api-client-javascript

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrfcloud/api-client-javascript

JavaScript API client for the nRFCloud.com REST API

1.0.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

nRF Cloud JavaScript API Client

npm preview version Greenkeeper badge semantic-release Commitizen friendly Build Status Greenkeeper badge

Provides the JavaScript API client for the nRFCloud.com REST API.

API Client

The API client is available on npm:

npm i @nrfcloud/api-client-javascript

Browser

const {Client} = require('@nrfcloud/api-client-javascript')

const client = new Client(token);
client
  .registerGateway('foo')
  .then(res => {
      console.log(res)
  })

Node.js

npm i isomorphic-fetch es6-promise
require('es6-promise').polyfill();
require('isomorphic-fetch');

const {Client} = require('./')

...

Keywords

nRFCloud

FAQs

Package last updated on 23 Jan 2018

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