{"library":"is-type-of","type":"library","category":null,"description":"is-type-of is a comprehensive utility library for performing various type checks on JavaScript values, primarily targeting Node.js environments. It offers a wide array of functions to identify primitive types (like string, number, boolean, bigint, symbol, null, undefined), standard JavaScript objects (array, function, object), and Node.js-specific constructs such as generator functions and async functions. The package ships with full TypeScript support, including type guards, enhancing development with strong typing. The current stable version is 2.2.0, released in December 2024, which includes Node.js 14 support for `hasOwn`. The library maintains a regular release cadence, with version 2.1.0 (November 2023) introducing dual CommonJS and ES Module support using `tshy`, ensuring broad compatibility. Its key differentiators include its extensive and specific type checking methods and seamless TypeScript integration, making it a reliable tool for robust type validation.","language":"javascript","status":"active","version":"2.2.0","tags":["javascript","typeof","checker","type","is","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install is-type-of","imports":["import is from 'is-type-of';","import { isArray } from 'is-type-of';","const is = require('is-type-of');","import type { BigInt } from 'is-type-of';"]},{"cmd":"yarn add is-type-of","imports":[]},{"cmd":"pnpm add is-type-of","imports":[]}],"homepage":null,"github":"https://github.com/node-modules/is-type-of","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/is-type-of","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-type-of/compatibility"}}