Threads.js
A Node.js library for the Threads API
Install / Use
/learn @threadsjs/Threads.jsREADME
<div align="center">
threads.js
thread.js is a Node.js library that allows you to interact with the Threads API
<p align="center"> <a href="#features">Features</a> • <a href="#installation-and-updating">Installation and updating</a> • <a href="#usage">Usage</a> • <a href="#methods">Methods</a> </p> </div>Features
- Object-oriented
- Performant
- Authenticated
- 100% coverage
Installation and updating
npm install @threadsjs/threads.js
Example usage
const { Client } = require('@threadsjs/threads.js');
(async () => {
const client = new Client({ token: 'token' });
await client.users.get().then(user => {
console.log(user);
});
})();
