Tsafe is a lightweight TypeScript utility library designed to improve type safety and code clarity. It provides helpers for runtime type assertions, exhaustive type checking, and ensuring strict type constraints.

Features

  • Enhances TypeScript safety by enforcing strict types
  • Provides runtime type assertions for better debugging
  • Supports exhaustive type checking to prevent missing cases
  • Lightweight with zero dependencies for minimal overhead
  • Integrates seamlessly with TypeScript projects
  • Improves code readability and maintainability

Project Samples

Project Activity

See All Activity >

Categories

Package Managers

License

MIT License

Follow tsafe

tsafe Web Site

Other Useful Business Software
Stop vibe-debugging. Icon
Stop vibe-debugging.

Plug Claude into your app's actual errors.

AppSignal's MCP server hands Claude, Cursor, or Zed your real errors, traces, and the deploy that shipped them. AI writes the fix; you review the diff.
Free 30 days.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of tsafe!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Package Managers

Registered

2025-03-05