Attributes
Includes Deno configuration
Repository
Current version released
4 months ago
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 * as k from "https://deno.land/x/typecheck";
const EmailSchema = k.pipe(k.string(), k.isEmail(), k.minLength(5));
License
Completely free π₯³ and licensed under the MIT license.