ITSLanguage JavaScript SDK
Build JavaScript applications for the ITSLanguage platform.
Getting started
Adding ITSLanguage into your JavaScript project is as easy as:
$ npm install --save itslanguage
Dependencies
Any JavaScript project can use this SDK to build applications for the
ITSLanguage platform. There are, however, a few things to keep in mind; mostly
the dependencies. ITSLanguage JavaScript SDK uses:
- The
fetch
API - URLSearchParams
- FormData
- WebSocket
It is expected that these are accessible through their global
accessors (i.e.
by simply calling new FormData()
, fetch(...)
, etc.).
Modern browsers support these (at least to the capacity we use it). Older
browsers as well as Node
don't necessarily support these because the are, as
of writing this, still seen as experimental (browser) features. They are living
standards and therefore expected to be implemented in the future.
In the mean time; you might want to look at a few libraries which will add
these APIs to your environment. Here are a few we found useful.
Browsers
- whatwg-fetch
- url-search-params-polyfill
Node
- node-fetch
- url-search-params
- form-data
Both
- isomorphic-fetch
We appreciate any contribution to extend/update these lists.