Skip to main content

Semantic Primitives

TypeScript primitives with AI-powered semantic understanding

🔍

Semantic Comparison

Compare values by meaning, not just characters. "Hello" equals "Hi" when you need semantic understanding.

📝

Natural Language Parsing

Parse "twenty-five", "next Friday", and "yes please" into their proper types automatically.

Intelligent Validation

Validate data against semantic rules like "must be a valid email" or "must not contain profanity".

🤖

Multi-Provider Support

Works with Google Gemini, OpenAI, and Anthropic Claude. Switch providers with a single line of code.

📦

Full TypeScript Support

Complete TypeScript definitions with generics. Get full type safety and IntelliSense support.

🧩

Comprehensive Types

Wrappers for all primitives plus Array, Object, Map, Set, Date, Error, Promise, URL, and more.