# @types/kind-of

> TypeScript definitions for kind-of

Latest version **6.0.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/kind-of
pnpm add @types/kind-of
yarn add @types/kind-of
bun add @types/kind-of
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 6.0.3 |
| Published | 2023-11-07 |
| First published | 2019-05-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51442 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/kind-of
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kind-of
- npm.io page: https://npm.io/package/@types/kind-of

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 6.0.3 (latest) — 2023-11-07
- 6.0.0 (ts2.0) — 2019-05-01
- 6.0.2 — 2023-10-18
- 6.0.1 — 2023-09-14

## README

# Installation
> `npm install --save @types/kind-of`

# Summary
This package contains type definitions for kind-of (https://github.com/jonschlinkert/kind-of).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kind-of.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/kind-of/index.d.ts)
````ts
// TypeScript Version: 2.7
/// <reference types="node" />

export = kind_of;

declare function kind_of(thing: undefined): "undefined";
declare function kind_of(thing: null): "null";
declare function kind_of(thing: boolean): "boolean";
declare function kind_of(thing: Buffer): "buffer";
declare function kind_of(thing: number): "number";
declare function kind_of(thing: string): "string";
declare function kind_of(thing: typeof arguments): "arguments";
declare function kind_of(thing: Date): "date";
declare function kind_of(thing: any[]): "array";
declare function kind_of(thing: RegExp): "regexp";
declare function kind_of(thing: Error): "error";
declare function kind_of(
    thing: Iterator<any>,
):
    | "generator"
    | "stringiterator"
    | "arrayiterator"
    | "mapiterator"
    | "setiterator";
declare function kind_of(
    thing: (...args: any[]) => any,
): "function" | "generatorfunction";
declare function kind_of(thing: symbol): "symbol";
declare function kind_of(thing: Promise<any>): "promise";
declare function kind_of(thing: Map<any, any>): "map";
declare function kind_of(thing: WeakMap<any, any>): "weakmap";
declare function kind_of(thing: Set<any>): "set";
declare function kind_of(thing: WeakSet<any>): "weakset";
declare function kind_of(thing: Int8Array): "int8array";
declare function kind_of(thing: Uint8Array): "uint8array";
declare function kind_of(thing: Uint8ClampedArray): "uint8clampedarray";
declare function kind_of(thing: Int16Array): "int16array";
declare function kind_of(thing: Uint16Array): "uint16array";
declare function kind_of(thing: Int32Array): "int32array";
declare function kind_of(thing: Uint32Array): "uint32array";
declare function kind_of(thing: Float32Array): "float32array";
declare function kind_of(thing: Float64Array): "float64array";
declare function kind_of(thing: any): string;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:38 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Claas Ahlrichs](https://github.com/claasahl).

---
_Source: https://npm.io/package/@types/kind-of · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
