https://github.com/traptitech/node-traq
Node.js client library for the traQ API.
https://github.com/traptitech/node-traq
hacktoberfest traq
Last synced: about 1 year ago
JSON representation
Node.js client library for the traQ API.
- Host: GitHub
- URL: https://github.com/traptitech/node-traq
- Owner: traPtitech
- License: mit
- Created: 2019-07-01T07:38:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-07-01T05:21:34.000Z (about 1 year ago)
- Last Synced: 2025-07-01T05:33:29.444Z (about 1 year ago)
- Topics: hacktoberfest, traq
- Language: TypeScript
- Homepage:
- Size: 1.4 MB
- Stars: 5
- Watchers: 10
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-traQ
[](https://www.npmjs.com/package/@traptitech/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.
```shell
npm i @traptitech/traq
```
```js
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`](https://docs.npmjs.com/cli/v7/commands/npm-diff) to check diff between versions.
```shell
npm diff --diff=@traptitech/traq@3.6.1-3 --diff=@traptitech/traq@3.6.1-4
```