Home / Companies / Speakeasy / Blog / Post Details
Content Deep Dive

Lean TypeScript SDKs for the browser

Blog post from Speakeasy

Post Details
Company
Date Published
Author
Nolan Sullivan
Word Count
441
Language
English
Hacker News Points
-
Summary

A recent update to TypeScript SDKs has introduced enhancements that make them more efficient for browser applications, emphasizing lean, ergonomic, and type-safe designs without requiring breaking changes. By introducing Standalone Functions, the SDKs become tree-shakable, allowing developers to import only necessary functions, significantly reducing bundle sizes and improving application performance, as demonstrated by a 75% reduction in bundle size in a benchmark test. Additionally, users can now generate SDKs on GitHub directly from the terminal using the --github flag, simplifying workflows with the help of the Speakeasy CLI. The update also includes new features and bug fixes across various languages, improving functionality such as streaming uploads and error handling in languages like Python, Go, and C#.