thread.js is a Node.js library that allows you to interact with the Threads API
- Object-oriented
- Performant
- Authenticated
- 100% coverage
npm install @threadsjs/threads.js
const { Client } = require('@threadsjs/threads.js');
(async () => {
const client = new Client({ token: 'token' });
await client.users.get().then(user => {
console.log(user);
});
})();