Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/threadsjs/threads.js

A Node.js library for the Threads API
https://github.com/threadsjs/threads.js

nodejs threads threads-api

Last synced: about 2 months ago
JSON representation

A Node.js library for the Threads API

Awesome Lists containing this project

README

        



# threads.js
thread.js is a Node.js library that allows you to interact with the Threads API

[![npm version](https://img.shields.io/npm/v/@threadsjs/threads.js.svg?color=green)](https://www.npmjs.com/package/@threadsjs/threads.js)
[![Downloads](https://img.shields.io/npm/dm/@threadsjs/threads.js.svg)](https://www.npmjs.com/package/@threadsjs/threads.js)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/threadsjs/threads.js.svg)](http://isitmaintained.com/project/threadsjs/threads.js "Average time to resolve an issue")
[![Percentage of issues still open](http://isitmaintained.com/badge/open/threadsjs/threads.js.svg)](http://isitmaintained.com/project/threadsjs/threads.js "Percentage of issues still open")


Features
Installation and updating
Usage
Methods

## Features
* Object-oriented
* Performant
* Authenticated
* 100% coverage

## Installation and updating
```
npm install @threadsjs/threads.js
```
## Example usage
```js
const { Client } = require('@threadsjs/threads.js');

(async () => {
const client = new Client({ token: 'token' });

await client.users.get().then(user => {
console.log(user);
});
})();
```