Blog
Blog post from Tinybird
Tinybird has introduced a TypeScript SDK, allowing developers to manage their entire Tinybird project using TypeScript code, integrating seamlessly with Tinybird's Infrastructure-as-Code approach. The SDK enables the definition and management of datasources, pipes, endpoints, materialized views, and various connections in TypeScript, providing benefits like type safety, autocomplete, and seamless integration with coding agents like Claude or Cursor. It allows developers to define resources as code, with TypeScript catching errors at compile time, ensuring that endpoint output schemas and ingestion payloads are validated against the data model. The SDK supports the complete range of Tinybird resources, working alongside existing .datasource and .pipe files and offering a familiar workflow for those accustomed to modern frontend frameworks. It also integrates smoothly with CI/CD platforms, facilitating preview deployments with isolated environments for each pull request, and supports incremental adoption without requiring a complete rewrite of existing projects.