@nrfcloud/api-client-javascript
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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('./')

...

/@nrfcloud/api-client-javascript/

    Package Sidebar

    Install

    npm i @nrfcloud/api-client-javascript

    Weekly Downloads

    5

    Version

    1.0.0

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • nate-sherrett
    • toha-nordic
    • akolosov-nordic
    • melyea
    • gfleming-nordic
    • guckin
    • mdickensnordic
    • apkostka
    • semcc
    • patrick.barnes
    • markkulehto
    • colehafner
    • jayteemo
    • lpthomas
    • nrfcloud-ci
    • johnconley