{"library":"tsafe","type":"library","category":null,"description":"A collection of utility functions and type helpers for TypeScript, currently at version 1.8.12. Released frequently (multiple releases in 2024). Provides runtime functions like assert and assertDeepEqual, along with type-level utilities such as Equals, EqualsT, ReturnType of, UnpackPromise, Assert, Id, etc. No runtime dependencies. Tree-shakable and supports Deno. Differentiates by offering TypeScript utility types that require runtime implementations (e.g., assertion functions), complementing the standard library.","language":"javascript","status":"active","version":"1.8.12","tags":["javascript","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install tsafe","imports":["import { assert } from 'tsafe'","import { type Equals } from 'tsafe'","import { ReturnTypeOf } from 'tsafe'"]},{"cmd":"yarn add tsafe","imports":[]},{"cmd":"pnpm add tsafe","imports":[]}],"homepage":null,"github":"https://github.com/garronej/tsafe","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tsafe","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}