A TypeScript library to facilitate working the the REST-like HTTP API and web socket API of Eclipse Ditto.
How to use it
the API and build your own client implementation.
More information can be found in the descriptions of the subpackages:
Compatibility with Eclipse Ditto
will be compatible with the
<ditto-major-version>, so e.g.
semantic versioning for their
api changes. All modules are released together, so if there is a version
npm install npm run build npm run lint npm test # or npm run test:watch
If you get strange errors, it would be best cleaning all dependencies and starting from the beginning again:
npm run clean # by hand delete node_modules in the root folder, or use a tool like rm, rimraf, etc. npm install npm run build # ...
It is important to know that during install and build some extra processes
are triggered by e.g. lerna which will symlink the
api dependency into
the node_modules of
This project is using lerna to split up the
client into different packages. This way we can have standalone codeable
node) but still are able to control dependencies,
build processes or release processes globally.
Furthermore we use rollup.js for providing multiple
module types of the packages, e.g. the
api will be published as IIFE,
ES Module and CommonJS module.
For automatically generating barrel files, barrelsby is used during the build process.