// FASTER STRINGIFY FUNCTIONS
export function stringify<T>(input: T): string; // unsafe but fatest
export function assertStringify<T>...
For further actions, you may consider blocking this person and/or reporting abuse
i reading document of this package and it is easy to learn . thank you
Gonna read this later
So basically this library is faster than the native stringify because it's defining a schema ahead of time?
If so, I'm curious how this would work with applications with large amount of data. Would it slow down the initial page load?
Bundle size of
typescript-json
is extremely small (as it works only in compilation process) and generated code bytypescript-json
not such small. Therefore, I think it does not effect on initial page loading unless you've definedtypescript-json
function calling code over thousands of times.Good post
Gonna read this later
Interesting, are you using TypeScript transformers to generate the validation objects during compilation?
Yes, utilizing
ttypescript
This is so educative
As I've promised, wrote an article introducing how to use
typia
inNestJS
.dev.to/samchon/nestia-boost-up-you...
can it be use with normal javascript???
Not possible in pure JavaScript. However, detour way like building reusable functions in TypeScript and importing them in JavaScript is possible.
thank you!
Can it be use with JavaScript + JSDocs?
TypeScript only