TypeScript Bindings Patterns

•
480
•

Streamlines the creation of idiomatic TypeScript bindings and SDKs for high-performance Rust-based core libraries.

This skill provides specialized guidance for developing TypeScript bridges for Rust cores, specifically focusing on NAPI-RS implementations. It ensures that the TypeScript SDK layer remains idiomatic and well-documented while core logic resides in Rust. It enforces strict type definitions, comprehensive JSDoc documentation, and standardized package management workflows, making it ideal for teams building polyglot applications that require high-performance document processing or system-level integration.

Key Features

01Idiomatic TypeScript API design for Rust cores
02Workflow integration for pnpm build and test cycles
03Automated type definition guidance
04480 GitHub stars
05NAPI-RS bridge and FFI implementation patterns
06Standardized JSDoc enforcement with parameters and examples

Use Cases

01Maintaining documentation parity between Rust logic and TypeScript exports
02Building a TypeScript SDK for a high-performance Rust library
03Implementing type-safe NAPI-RS bindings for cross-language modules