typia
typia copied to clipboard
Super-fast/easy runtime validators and serializers via transformation
I want to measure benchmark on multiple devices. If you want to help this `typescript-json` project, fork, clone and run below commands. After running the benchmark program, a new markdown...
## Bug Report ### Summary I am trying to call the `TS.stringify` on a lhr object and getting the following error `key cannot contain `.``. The lighthouse report contains an...
The readme contains this: > Guide Documents: https://github.com/samchon/typescript-json/wiki But that link just redirects to https://github.com/samchon/typescript-json. Should this be removed? Is the wiki private?
I am very interested in Application Transformer, and converting TS types into json-schema/openapi. I would like to be able to use `TSON.application` with a generic like so: ```ts function toJsonSchema...
When stringify `Buffer` class of `NodeJS`, its `Buffer.toJSON()` method would be utilized. However, its origin type `Uint8Array` does not have the `toJSON()` method and not `Array` either. Therefore, test the...
To support dynamic properties (#153), type of `MetadataProperty.name` must be changed from `string` to `Metadata`. However, `MetadataProperty` already has been possessed the `Metadata` type in the `MetadataProperty.metadata` property. For clean...
## Feature Request I think an assertion function like [Node.js assert](https://nodejs.org/api/assert.html#assertokvalue-message) would be cool. So instead of writing: ```typescript if(!is(untrustedValue)) throw new Error(); // Using untrustedValue ``` we can write:...
https://github.com/samchon/nestia/issues/141 @SkyaTura suggested a good idea in `nestia`, but `typescript-json` seems more suitable. Create a transformer function that generates a random data following its generic argument type. ```typescript export function...
One of the limitations of `typia` is the inability to set types as generics. This creates a number of constraints, which are unfortunately difficult to resolve. To mitigate some of...
Added npm, yarn, pnpm, and bun commands for installing typia.