Twitter API v2 Client
JSON →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.
Traffic · last 30 days ↓25% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇩🇪 Germany · 🇫🇷 France