0.1.1 • Published 6 months ago

@onetyped/core v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

@onetyped/core

This package contains functions to define your onetyped schema. Each function creates a node that makes up your schema. Some utilities for manipulating the schema are also provided.

Usage

import { number, object, string } from '@onetyped/core'

const schema = object({
	name: string(),
	age: number(),
})

// Print JSON representation of schema
console.log(schema)
0.0.10

10 months ago

0.0.11

10 months ago

0.0.12

10 months ago

0.1.0

9 months ago

0.1.1

9 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago