Typia

Super-fast/easy runtime validations and serializations through transformation
Alternatives To Typia
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Ajv12,994801,60612,4822 days ago352January 03, 2023309mitTypeScript
The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
Jsonschema4,31715,5303,4052 days ago100November 16, 202334mitPython
An implementation of the JSON Schema specification for Python
Jose4,146291,0859 days ago186November 30, 2023mitTypeScript
"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
Typia3,6348920 hours ago344December 05, 202338mitTypeScript
Super-fast/easy runtime validations and serializations through transformation
Typebox3,62987417 hours ago254December 05, 20235otherTypeScript
Json Schema Type Builder with Static Type Resolution for TypeScript
Json Schema3,4458,5015083 months ago48September 26, 202393mitPHP
PHP implementation of JSON schema. Fork of the http://jsonschemaphpv.sourceforge.net/ project
Json Schema Spec2,961
22 days ago115otherJavaScript
The JSON Schema specification
Fast Xml Parser2,1955371,800a day ago129October 02, 202352mitJavaScript
Validate XML, Parse XML and Build XML rapidly without C/C++ based libraries and no callback.
Node Convict2,1631,056541a year ago63January 07, 202366otherJavaScript
Featureful configuration management library for Node.js
Sublimeprettyjson1,949
a year ago1August 09, 201821mitPython
Prettify/Minify/Query/Goto/Validate/Lint JSON plugin for Sublime Text 3 & 4
Alternatives To Typia
Select To Compare


Alternative Project Comparisons
Readme

Typia

Typia Logo

GitHub license npm version Downloads Build Status Guide Documents

// RUNTIME VALIDATORS
export function is<T>(input: unknown): input is T; // returns boolean
export function assert<T>(input: unknown): T; // throws TypeGuardError
export function validate<T>(input: unknown): IValidation<T>; // detailed

// JSON FUNCTIONS
export namespace json {
    export function application<T>(): IJsonApplication; // JSON schema
    export function assertParse<T>(input: string): T; // type safe parser
    export function assertStringify<T>(input: T): string; // safe and faster
}

// PROTOCOL BUFFER
export namespace protobuf {
    export function message<T>(): string; // Protocol Buffer message
    export function assertDecode<T>(buffer: Uint8Array): T; // safe decoder
    export function assertEncode<T>(input: T): Uint8Array; // safe encoder
}

// RANDOM GENERATOR
export function random<T>(g?: Partial<IRandomGenerator>): T;

Typia is a transformer library supporting below features:

  • Super-fast Runtime Validators
  • Enhanced JSON functions
  • Protocol Buffer encoder and decoder
  • Random data generator

Note

  • Only one line required, with pure TypeScript type
  • Runtime validator is 20,000x faster than class-validator
  • JSON serialization is 200x faster than class-transformer

Sponsors

Thanks for your support.

Your donation encourages typia development.

Sponsers

Playground

You can experience how typia works by playground website:

Guide Documents

Check out the document in the website:

🏠 Home

📖 Features

🔗 Appendix

Popular Validation Projects
Popular Json Projects
Popular Data Processing Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Typescript
Json
Types
Validator
Schema
Random
Protobuf
Protocol Buffers
Stringify