{"library":"twitter-api-v2","type":"library","category":null,"description":"twitter-api-v2 is a strongly typed, full-featured, and lightweight client for both Twitter API v1.1 and v2, designed for Node.js. Currently at version 1.29.0, it maintains an active release cadence, frequently incorporating new API features, fixes, and improvements as seen in recent updates like adding `article` tweet fields and expanding user/community fields. Its key differentiators include comprehensive TypeScript typings for all request parameters and response payloads, ensuring robust development, and a remarkable zero-dependency footprint, leading to a minimal bundle size (23kb minified+gzipped). The library provides extensive support for streaming, pagination, user-context authentication with OAuth2, and convenient media upload helpers, contrasting with other libraries that often lack strong typing or carry numerous external dependencies. It aims to provide a reliable and efficient wrapper around Twitter's evolving API.","language":"javascript","status":"active","version":"1.29.0","tags":["javascript","twitter","api","typed","types","v2","v1.1","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install twitter-api-v2","imports":["import { TwitterApi } from 'twitter-api-v2';","import { TwitterApiReadOnly } from 'twitter-api-v2';","import { ETwitterStreamEvent } from 'twitter-api-v2';","import { TweetV2 } from 'twitter-api-v2';"]},{"cmd":"yarn add twitter-api-v2","imports":[]},{"cmd":"pnpm add twitter-api-v2","imports":[]}],"homepage":null,"github":"https://github.com/plhery/node-twitter-api-v2","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/twitter-api-v2","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/twitter-api-v2/compatibility"}}