Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1 KB

README.md

File metadata and controls

44 lines (29 loc) · 1 KB

node-traQ

npm version check npm ci & build

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 version x.y.z.

Diff

Use npm diff to check diff between versions.

npm diff --diff=@traptitech/[email protected] --diff=@traptitech/[email protected]