{"repo":"sindresorhus/type-fest","free":true,"listed":false,"github":"https://github.com/sindresorhus/type-fest","clone":"git clone https://github.com/sindresorhus/type-fest.git","description":"A collection of essential TypeScript types","language":"TypeScript","stars":17364,"topics":["typescript-definitions","typescript","types","utilities","npm-package"],"license":"CC0-1.0","category":"deployment-docker-iac","readme_excerpt":"A collection of essential TypeScript types Sindre Sorhus' open source work is supported by the community Special thanks to: Effortless backends with infrastructure from code An open-source framework that supports any programming language, cloud provider, or deployment automation tool. Get the most out of every conversation. AI-powered meeting notes, automations, and search. Give AI agents the context they need to get things done. Many of the types here should have been built-in. You can help by suggesting some of them to the TypeScript project. Either add this package as a dependency or copy-paste the needed types. No credit required. 👌 PR welcome for additional commonly needed types and docs improvements. Read the contributing guidelines first. Help wanted with reviewing proposals and pull requests. Install Requires TypeScript =5.9, ESM, and {strict: true} in your tsconfig. [!NOTE] This readme shows the current development version. For docs about the latest version, see the npm page. You may also like my ts-extras package which provides runtime functions for some of these types. Usage API Click the type names for complete docs. Basic - Primitive - Matches any primitive value. - Class - Matches a class . - Constructor - Matches a class constructor. - AbstractClass - Matches an abstract class . - AbstractConstructor - Matches an abstract class constructor. - TypedArray - Matches any typed array, like Uint8Array or Float64Array . - ObservableLike - Matches a value that is like","default_branch":null,"files":null,"tree":[],"storefront":"/r/sindresorhus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sindresorhus/type-fest/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}