Nervously Proposing Marriage
    Wondering what’s next for npm?Check out our public roadmap! »

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

    Install

    npm i @nrfcloud/api-client-javascript

    DownloadsWeekly Downloads

    12

    Version

    1.0.0

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar