{"library":"is-what","type":"library","category":null,"description":"`is-what` is a lightweight, fully TypeScript-supported utility library providing a comprehensive set of functions for JavaScript type checking, such as `isPlainObject()`, `isArray()`, `isString()`, and many more specific checks. Currently at version `5.5.0`, the library maintains a steady release cadence, frequently adding new type-checking utilities and dependency updates. Its core differentiators include a focus on simplicity, a small footprint, robust TypeScript type inference (automatically narrowing types after checks), and a more intuitive handling of edge cases like `NaN` compared to native JavaScript functions. It explicitly distinguishes between plain objects (`{}`) and class instances, addressing a common pain point in JavaScript development. The library aims to be a straightforward and reliable alternative to more complex or less type-safe existing solutions. Its `v5.x` releases moved to ESM-only and refined its TypeScript integration.","language":"javascript","status":"active","version":"5.5.0","tags":["javascript","typescript","typechecker","check-type","javascript-type","primitive-types","plain-object","plain-objects"],"last_verified":"Wed May 27","install":[{"cmd":"npm install is-what","imports":["import { isPlainObject } from 'is-what'","import { isString } from 'is-what'","import { isNaNValue } from 'is-what'"]},{"cmd":"yarn add is-what","imports":[]},{"cmd":"pnpm add is-what","imports":[]}],"homepage":null,"github":"https://github.com/mesqueeb/is-what","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/is-what","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/compatibility"}}