@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

    24

    Version

    1.0.0

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • markkulehto
    • akolosov-nordic
    • colehafner
    • nrfcloud-ci
    • benjaminlager-nordic
    • gregers-nordic
    • coderbyheart
    • lenaharaldseid
    • szymonsasin
    • topiasj-nordic
    • tuukkateppola
    • juha-pekka
    • thorm_nordic
    • nordic-aleksander-aleksic