For Cotalker Partners, this library will help you communicate with Cotalker's API.
This project requires NodeJS and NPM. Node and NPM are really easy to install. To make sure you have them available on your machine, try running the following command.
$ npm -v && node -v
If not we recommend the use of [NVM] (https://github.com/nvm-sh/nvm) which you can easily install with
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
and then you can install node
nvm install node
With node installed you can use npm, its default package manager. To install cotalker-sdk simply write in your terminal
npm i cotalker-sdk
You can now import Cotalker's API and use its methods to communicate with your workspace, by example:
import { CotalkerAPI } from "cotalker-sdk"
const token = "..."
const helloAPI = new CotalkerAPI(token)