Package Exports
- warp-sdk-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 (warp-sdk-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Warp JavaScript SDK
The Warp JS SDK is a library for implementing the Warp Framework using client-side JavaScript. It is designed to work with projects built on-top of the WarpServer.
Installation
To install the Warp JS SDK via npm, simply use the install command to save it in your package.json:
npm install --save warp-sdk-js
Configuration
To initialize the SDK, simply add the following configruation to the main file of your project:
// Require Warp
var Warp = require('warp-sdk-js');
// Initialize Warp
Warp.initialize({ apiKey: '12345678abcdefg', baseURL: 'http://my-warp-server.com/api/1' });