{"library":"is-what-type","type":"library","category":null,"description":"is-what-type is a lightweight and comprehensive JavaScript/TypeScript utility library designed for robust type checking of various values. It offers a single default export, `isWhatType`, which returns a string representation of a value's type, alongside numerous named exports like `isString`, `isNumber`, `isObject`, `isArray`, and `isPromise` for specific boolean checks. Currently at version 1.1.4, this library focuses on providing a wide array of type-checking functions, from primitive types to complex browser and Node.js-specific objects like Blob, File, and Buffer, making it suitable for both front-end and back-end development. Its main differentiator lies in its extensive collection of precise `isX` functions and the flexibility of getting a detailed type string, catering to detailed validation scenarios.","language":"javascript","status":"active","version":"1.1.4","tags":["javascript","util","type","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install is-what-type","imports":["import isWhatType from 'is-what-type';","import { isString, isNumber } from 'is-what-type';","import * as TypeChecks from 'is-what-type';"]},{"cmd":"yarn add is-what-type","imports":[]},{"cmd":"pnpm add is-what-type","imports":[]}],"homepage":"https://fengxinming.github.io/util/modules/is-what-type/","github":"https://github.com/fengxinming/util","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/is-what-type","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/is-what-type/compatibility"}}