Skip to content

sesamecare/typia-standalone-validator

This branch is 1 commit ahead of, 1 commit behind main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d3ee4ae · Feb 21, 2024

History

16 Commits
Feb 14, 2024
Oct 19, 2023
Dec 13, 2023
Oct 19, 2023
Oct 19, 2023
Oct 19, 2023
Oct 19, 2023
Nov 25, 2023
Feb 21, 2024

Repository files navigation

typia-standalone-validator

This package creates a bundle standalone validator for a Typescript type using Typia. It basically just runs npx a couple times to do the dance and generate a single js file that will validate a given Javascript object against a Typescript type at runtime.

npx @sesamecare-oss/typia-standalone-validator <source file with TS type decl> <type> --project <your tsconfig.json> --o <output file>