Non-exhaustive list of features:
- Expose a Client class that you can use to send JMAP requests, using a fluent API.
- Uses Promises exclusively, and allows for pluggable Promise implementation.
- Allows for pluggable transports, with default support for node.js request and jQuery in the browser.
The library is provided as a NPM or Bower packages, thus to install either use:
npm install jmap-client
bower install jmap-client
depending on your preferred package manager.
How to contribute
1. Clone the repository
git clone https://ci.open-paas.org/stash/scm/olibs/jmap-client.git cd jmap-client
2. Install dependencies
3. Compile the library and run the tests
4. Code, execute tests then pull request !
More detailled instructions can be found in the contributing section.
If you are a maintainer of this project, here's how you can release a new version:
- Checkout the master branch and pull the latest changes from the remote repository
grunt releaseto do the release. A lot of things will happen but you'll eventually be back on the master branch
- Bump the version in master to NEXT_VERSION-dev (replace NEXT_VERSION by the supposed next version)