Sienna Library Jun 2026
One of the biggest benefits is automatic TypeScript type inference. You don't need to define the interface manually.
// Usage const post: BlogPost = title: "My Guide", views: 100 ; sienna library
// Define a more complex object schema const userSchema = s.object( id: s.number().integer(), username: s.string().minLength(3).maxLength(20), email: s.string().email(), isAdmin: s.boolean().optional(), // optional fields tags: s.array(s.string()) ); One of the biggest benefits is automatic TypeScript