2.7.0 • Published 7 years ago

itslanguage v2.7.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

ITSLanguage JavaScript SDK

Build JavaScript applications for the ITSLanguage platform.

branchbuild status
masterBuild Status
nextBuild Status

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:

  1. The fetch API
  2. URLSearchParams
  3. FormData
  4. 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

  1. whatwg-fetch
  2. url-search-params-polyfill

Node

  1. node-fetch
  2. url-search-params
  3. form-data

Both

  1. isomorphic-fetch

We appreciate any contribution to extend/update these lists. Feel free to contact us on our github page or drop us a line at support@itslanguage.nl

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)
3.0.0-beta-4.9

6 years ago

3.0.0-beta-4.8

7 years ago

3.0.0-beta-4.7

7 years ago

3.0.0-beta-4.6

7 years ago

3.0.0-beta-4.5

7 years ago

3.0.0-beta-4.4

7 years ago

3.0.0-beta-4.3

7 years ago

3.0.0-beta-4.2

7 years ago

3.0.0-beta-4.1

7 years ago

3.0.0-beta-3.1

7 years ago

3.0.0-beta-4

7 years ago

3.0.0-beta-3

7 years ago

3.0.0-beta-2

7 years ago

3.0.0-beta-1

7 years ago

3.0.0

7 years ago

2.7.0

7 years ago

2.6.1

7 years ago

2.6.0

7 years ago

2.5.1

7 years ago

2.5.0

7 years ago

2.4.0

7 years ago

2.3.0

7 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.11

7 years ago

0.3.10

7 years ago

0.3.9

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

8 years ago