itslanguage
v2.7.0
Published
The core JavaScript SDK for ITSLanguage.
Downloads
13
Keywords
Readme
ITSLanguage JavaScript SDK
Build JavaScript applications for the ITSLanguage platform.
| branch | build status | | ------ | ------------ | | master | | | next | |
Getting started
Adding ITSLanguage into your JavaScript project is as easy as:
npm install --save itslanguage
This will install the latest stable version of the sdk to your project. If you want to live on the
edge you can also try and install our @next
version. It's just as easy as installing the stable
release, just add the @next
tag to the install option:
npm install --save itslanguage@next
note: if you're using npm >= 5 in your project you can ommit the --save
flag. That is assumed
by default.
note: the ITSLanguage SDK is build with using yarn in favor of NPM. For using the SDK in your own project this is not an requirement.
Warning: this will install the ITSLanguage Javascript SDK as a beta package to your project. Things might not work as expected. For instance the sdk might require a specific backend version to be able to function with this version to work on. So make sure you now what you're doing when installing the next branch to your project. Breaking changes will occur.
Usage
Simply import itslanguage
in your project. For example:
import { Connection } from 'itslanguage';
For more usage and examples read our documentation on the GitHub pages website.
Dependencies
This SDK was build with the browser in mind. However 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. Our development on the SDK is based on browser usage. We don't extensively test on other platforms. Do let us know if something is not working. And of course, we accept pull requests!
ITSLanguage JavaScript SDK uses:
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
Node
Both
We appreciate any contribution to extend/update these lists. Feel free to contact us on our github page or drop us a line at [email protected]
The Next Branch
Our next
branch can be used to try out new features that are coming out in the near future.
Important to keep in mind is that this version possibly does not work on your ITSLanguage
backend environment due to breaking changes. If not sure, drop us a line to find out.
Current status of next branch
These are the items currently we are currently developing on for the @next
dist-tag which is
available on npm.
- Improve our CI/CD flow for better releases
- Improve communication/authentication mechanism
- Improve websocket communication mechanism
- Add safari support (macOS and iOS)