JavaScript has great compile-time types (TypeScript), but at runtime, those types disappear.<p>SigilJS is a tiny library that lets you describe
data using type sigils and validate it at runtime.<p>Example:<p>const User = Sigil`
{
name: string
age?: number
}
`<p>User.check(data)<p>Zero dependencies.
Bun-first.<p>Would love feedback.
by antistructured
|
Mar 11, 2026, 8:59:53 PM