whatsit-sdk-js
whatsit-sdk-js provides a minimal higher-level wrapper around WhatsIt's API.
Usage
/* Data can be retrieved from the API either using callbacks (as in versions < 1.0) or using a new promise-based API. The promise-based API returns the raw Axios request promise. */var WhatsIt = ; const aw = ;let project = aw; let projectId = 'xxxxx'project
API Documentation
https://whatsit.github.io/whatsit-sdk-js/
Installation
WhatsIt.js is available from npm
or [unpkg][unpkg].
npm install whatsit-api
<!-- just whatsit-api source (5.3kb) --> <!-- standalone (20.3kb) -->
Compatibility
WhatsIt.js
is tested on Node.js:
- 6.x
Note: WhatsIt.js
uses Promise, hence it will not work in Node.js < 4 without polyfill.