@traptitech/traq
v3.20.1-1
Published
A client library for the traQ API.
Downloads
6,755
Readme
node-traQ
A client library for the traQ API. Typescript type definition included.
This package is updated automatically.
How to use
Node.js v20 or later is required.
npm i @traptitech/traq
import { Apis, Configuration } from "@traptitech/traq";
// const { Apis, Configuration } = require("@traptitech/traq");
const api = new Apis(new Configuration({
accessToken: "/* your token */"
}));
api.getChannels().then(res => {
console.log(res);
});
Versioning
x.y.z-n
x.y.z-0
: It is assured that this version is compatible with traQ server versionx.y.z
.
Diff
Use npm diff
to check diff between versions.
npm diff --diff=@traptitech/[email protected] --diff=@traptitech/[email protected]