{"library":"typescript-compare","type":"library","category":null,"description":"Typescript-compare is a utility library providing TypeScript generic types for comparing types at compile time. Version 0.0.2 offers type-level comparison operators (e.g., eq, lt, gt) and helpers like compare and strictEqual. It enables conditional types based on type equality, ordering, and more, useful for building complex type functions. The library is lightweight, with no runtime dependencies, and is intended for advanced TypeScript type programming. It is released on an as-needed cadence.","language":"javascript","status":"active","version":"0.0.2","tags":["javascript","compare","generic","typescript","types"],"last_verified":"Wed May 27","install":[{"cmd":"npm install typescript-compare","imports":["import { eq } from 'typescript-compare'","import { compare } from 'typescript-compare'","import { strictEqual } from 'typescript-compare'"]},{"cmd":"yarn add typescript-compare","imports":[]},{"cmd":"pnpm add typescript-compare","imports":[]}],"homepage":null,"github":"https://github.com/ksxnodemodules/typescript-compare","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/typescript-compare","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/typescript-compare/compatibility"}}