DEPRECATED TypeScript library for runtime type validation and sanitization using decorators, version 2.61.2. Originally designed to secure web apps by validating route params, query strings, JSON bodies, and responses, plus schemaless database data. Offers AssertDelegate<> and sd.check<> for runtime enforcement with compile-time type inference via TypeOf<> and AcceptsOf<>. Deprecated in favor of type-mapping.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package exports a namespace, not named exports; use wildcard import.
naturalNumber is a method on the default export, not a named export.
TypeOf is a helper type accessible via namespace.
check is a function on the namespace; CommonJS destructuring works but ESM style is preferred.
Illustrates basic usage of naturalNumber() assert delegate, runtime error on invalid input, and compile-time check with sd.check().
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.