From 8bafea07281f91628d2ee5775e2f94e46328c050 Mon Sep 17 00:00:00 2001 From: sinclair Date: Tue, 28 Jan 2025 04:05:31 +0900 Subject: [PATCH] Documentation --- readme.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index 1acc79d..d690785 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@

TypeMap

-

Unified Syntax and Type Compiler for Runtime Type Systems

+

Unified Syntax, Mapping and Compiler System for Runtime Type Systems

@@ -24,14 +24,12 @@ $ npm install @sinclair/typemap --save ## Usage -Create and Compile Runtime Types using TypeScript syntax. +Create Types with TypeScript syntax. ```typescript import { Zod, Compile } from '@sinclair/typemap' -const T = Zod(`string`) // ZodString - -const R = Compile(T).Check('Hello from TypeMap') +const result = Zod(`string`).parse('Hello World') ``` ## Overview