{"library":"tsdef","type":"library","category":null,"description":"tsdef is a TypeScript utility library that provides a curated collection of common type definitions and aliases to simplify complex type patterns and enhance code readability in TypeScript projects. It aims to reduce boilerplate and improve type safety by offering widely applicable utility types such as `Nullable`, `NonNull`, `MaybePromise`, and various `Props` modifiers (e.g., `NonNullProps`, `WritableProps`). The current stable version is 0.0.14. As a pre-1.0 release, its release cadence is likely irregular, and breaking changes might occur more frequently than with a semantically versioned stable library. It differentiates itself by being a pure type-only library, meaning it introduces zero runtime overhead and focuses exclusively on type-system improvements, making it suitable for projects that prioritize strict type integrity without adding to the JavaScript bundle size.","language":"javascript","status":"maintenance","version":"0.0.14","tags":["javascript","TypeScript","common","patterns","shortcuts","snippets","definitions","utility","gist","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install tsdef","imports":["import { Nullable } from 'tsdef';","import { NonNull } from 'tsdef';","import { AnyFunction } from 'tsdef';"]},{"cmd":"yarn add tsdef","imports":[]},{"cmd":"pnpm add tsdef","imports":[]}],"homepage":null,"github":"https://github.com/joonhocho/tsdef","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tsdef","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/tsdef/compatibility"}}