// 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
Gonna read this later
i reading document of this package and it is easy to learn . thank you
Good post
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-jsonis extremely small (as it works only in compilation process) and generated code bytypescript-jsonnot such small. Therefore, I think it does not effect on initial page loading unless you've definedtypescript-jsonfunction calling code over thousands of times.This is so educative
Gonna read this later
Interesting, are you using TypeScript transformers to generate the validation objects during compilation?
Yes, utilizing
ttypescriptAs I've promised, wrote an article introducing how to use
typiainNestJS.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