Skip to main content
The Deno 2 Release Candidate is here
Learn more

Typecheck

An awesome, tiny and extensible runtime types validation library.

Features

  • πŸ€– Type safety with static type inference.
  • 🏝️ Tree-shakable and modular structure from design, import only what you need.
  • 🎧 Clean, readable and declarative API (and codebase).
  • πŸ› οΈ Useful utilities included to parse and modify.
  • πŸ‘¨β€πŸ’» Most common types are included as schemas with their modifiers.
  • πŸ“• Code documentation included (with examples of use and variants πŸ‘¨β€πŸ’»).
  • πŸ™‰ Based on real use cases and designed to improve developer experience.

Example

import {} from "https://deno.land/x/typecheck";

License

Completely free πŸ₯³ and licensed under the MIT license.