JSPM

  • Created
  • Published
  • Downloads 18
  • Score
    100M100P100Q67811F
  • License Apache-2.0

Kinvey JavaScript SDK for HTML5 applications.

Package Exports

  • kinvey-html5-sdk
  • kinvey-html5-sdk/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (kinvey-html5-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Kinvey HTML5 SDK

Installation

From the command prompt go to your app's root folder and execute:

npm i kinvey-html5-sdk@next

or if you would prefer you can just download the latest bundle and include it in your application.

Usage

Initialize SDK

We need to initialize the SDK.

JavaScript with NPM

import * as Kinvey from 'kinvey-html5-sdk';

Kinvey.init({
  appKey: '<yourAppKey>',
  appSecret: '<yourAppSecret>'
});

JavaScript with bundle

window.Kinvey.init({
  appKey: '<yourAppKey>',
  appSecret: '<yourAppSecret>'
});

Angular

Please take a look at our kinvey-angular-sdk.

Build

If you would like to build the SDK yourself, clone the monorepo, then:

  • npm i
  • npm run build

You can then install the SDK build by running npm i /<localpath>/packages/html5-sdk