{"library":"type-samurai","type":"library","category":null,"description":"`type-samurai` is a TypeScript library offering a collection of advanced utility types designed to extend TypeScript's native type manipulation capabilities. Currently at version 1.1.1, the package provides types for arithmetic operations (e.g., `Sum`), logical statements (`If`, `And`, `Or`), string manipulations, and type introspection (`IsAny`, `IsUnknown`, `IsNever`). It differentiates itself by providing complex, often recursive, type-level computations that are not available in the standard TypeScript utility types. While there's no explicit release cadence mentioned, the library appears to be actively maintained, providing a robust toolkit for highly intricate type-safe programming patterns. This library is entirely focused on compile-time type checking and does not include any runtime code, making it a zero-runtime dependency.","language":"javascript","status":"active","version":"1.1.1","tags":["javascript","typescript","types","ts","math","arithmetics","color","generics","utilities"],"last_verified":"Wed May 27","install":[{"cmd":"npm install type-samurai","imports":["import type { Sum } from 'type-samurai'","import type { If } from 'type-samurai'","import type { IsAny } from 'type-samurai'"]},{"cmd":"yarn add type-samurai","imports":[]},{"cmd":"pnpm add type-samurai","imports":[]}],"homepage":null,"github":"https://github.com/KamilHs/type-samurai","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/type-samurai","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/type-samurai/compatibility"}}