A Node.js library for the Threads API
thread.js is a Node.js library that allows you to interact with the Threads API
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);
});
})();