Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/threadsjs/threads.js
- Owner: threadsjs
- License: mit
- Created: 2023-07-05T20:28:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-14T23:50:48.000Z (5 months ago)
- Last Synced: 2024-04-15T11:14:45.772Z (5 months ago)
- Topics: nodejs, threads, threads-api
- Language: JavaScript
- Homepage:
- Size: 110 KB
- Stars: 273
- Watchers: 15
- Forks: 29
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
* 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);
});
})();
```