A library for interacting with the Mattermost API.
Available on NPM
To contribute, please see Contribution Guidelines
The library can be installed using npm:
npm install mattermost --save
Example import methods:
var Mattermost = require('mattermost');
var client = new Mattermost.Client()
import {Client} from 'mattermost';
const client = new Client();
API Documentation is coming soon. For now, take a look at the client.jsx file.
make build
- Compiles client.jsx into a minified lib/client.js
make pubish
- Walks though the steps to publish the package (manually)
make clean
- Cleans up compiled bits and npm dependencies.
The tests are in the main repository. This is because they require the server to run.