Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.x.com/llms.txt

Use this file to discover all available pages before exploring further.

Get started with the TypeScript SDK for X API in your project.

Install

npm install @xdevplatform/xdk

TypeScript Support

The SDK is written in TypeScript and includes full type definitions. No additional type packages are required.

Requirements

  • Node.js 16+
  • TypeScript 4.5+ (if using TypeScript)

Next Steps

For detailed code examples using the Javascript/TypeScript XDK, check out our code samples GitHub repo.