diff --git a/readme.md b/readme.md index 1acc79d..d690785 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@
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