# kind-of-types

> List of all javascript types. Used and useful for checking, validation, sanitizing and testing. Like isStream, isPromise, isWeakset and etc.

Latest version **1.0.1** (published 2015-08-30) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-08-30 |
| First published | 2015-07-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Charlike Mike Reagent |
| Maintainers | tunnckocore |
| Keywords | bool, boolean, buffer, check, checking, error, is, is-boolean, is-buffer, is-error, is-promise, is-stream, json, kind, kindof, list, promise, sanitize, stream, tools, transform, type, typeof, types, util, validate, validation, weakmap |

## Links

- npm: https://www.npmjs.com/package/kind-of-types
- Repository: https://github.com/tunnckocore/kind-of-types
- Homepage: https://github.com/tunnckocore/kind-of-types#readme
- Issues: https://github.com/tunnckocore/kind-of-types/issues
- npm.io page: https://npm.io/package/kind-of-types

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-08-30
- 1.0.0 — 2015-07-06
- 0.0.0 — 2015-07-03

## README

# [kind-of-types][author-www-url] [![npmjs.com][npmjs-img]][npmjs-url] [![The MIT License][license-img]][license-url] 

> List of all javascript types. Used and useful for checking, validation, sanitizing and testing. Like isStream, isPromise, isWeakset and etc.

[![code climate][codeclimate-img]][codeclimate-url] [![standard code style][standard-img]][standard-url] [![travis build status][travis-img]][travis-url] [![coverage status][coveralls-img]][coveralls-url] [![dependency status][david-img]][david-url]


## Install
```
npm i kind-of-types --save
npm test
```


## Usage
> For more use-cases see the [tests](./test.js)

```js
var types = require('kind-of-types')

console.log(types)
//=> [
//  "null",
//  "set",
//  "map",
//  "date",
//  "array",
//  "string",
//  "object",
//  ...
// ]
```


## Related
- [assert-kindof](https://github.com/tunnckoCore/assert-kindof): Check native type of the given value and throw TypeError if not okey. Expressive, elegant, behavior-driven API, good descriptive default error messages, simple and clean syntax.
- [assertit](https://github.com/tunnckoCore/assertit): Thin sugar layer on top of `testit` framework, `is-kindof` and `assert`.
- [is-kindof](https://github.com/tunnckoCore/is-kindof): Check type of given javascript value. Support promises, generators, streams, and native types. Thin wrapper around `kind-of` module.
- [is-typeof-error](https://github.com/tunnckoCore/is-typeof-error): Check that given value is any type of error and instanceof Error
- [is-singular](https://github.com/tunnckoCore/is-singular): Return true if given word is in singular form like `apple`, `car`, `test` and false otherwise, never throws.
- [kind-of-extra](https://github.com/tunnckoCore/kind-of-extra): Extends `kind-of` type check utility with support for promises, generators, streams and errors. Like `kindof(Promise.resolve(1)) === 'promise'` and etc.
- [kind-error](https://github.com/tunnckoCore/kind-error): Correct inheriting from `Error`. Supports constructing from an object of properties - focused on assertion.
- [plugin-error](https://github.com/jonschlinkert/plugin-error): Error handling for vinyl plugins. Just an abstraction of what's in gulp-util with minor changes.


## [Charlike Make Reagent](http://j.mp/1stW47C) [![new message to charlike][new-message-img]][new-message-url] [![freenode #charlike][freenode-img]][freenode-url]

[![tunnckocore.tk][author-www-img]][author-www-url] [![keybase tunnckocore][keybase-img]][keybase-url] [![tunnckoCore npm][author-npm-img]][author-npm-url] [![tunnckoCore twitter][author-twitter-img]][author-twitter-url] [![tunnckoCore github][author-github-img]][author-github-url]


[npmjs-url]: https://www.npmjs.com/package/kind-of-types
[npmjs-img]: https://img.shields.io/npm/v/kind-of-types.svg?label=kind-of-types

[license-url]: https://github.com/tunnckoCore/kind-of-types/blob/master/LICENSE.md
[license-img]: https://img.shields.io/badge/license-MIT-blue.svg


[codeclimate-url]: https://codeclimate.com/github/tunnckoCore/kind-of-types
[codeclimate-img]: https://img.shields.io/codeclimate/github/tunnckoCore/kind-of-types.svg

[travis-url]: https://travis-ci.org/tunnckoCore/kind-of-types
[travis-img]: https://img.shields.io/travis/tunnckoCore/kind-of-types.svg

[coveralls-url]: https://coveralls.io/r/tunnckoCore/kind-of-types
[coveralls-img]: https://img.shields.io/coveralls/tunnckoCore/kind-of-types.svg

[david-url]: https://david-dm.org/tunnckoCore/kind-of-types
[david-img]: https://img.shields.io/david/dev/tunnckoCore/kind-of-types.svg

[standard-url]: https://github.com/feross/standard
[standard-img]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg


[author-www-url]: http://www.tunnckocore.tk
[author-www-img]: https://img.shields.io/badge/www-tunnckocore.tk-fe7d37.svg

[keybase-url]: https://keybase.io/tunnckocore
[keybase-img]: https://img.shields.io/badge/keybase-tunnckocore-8a7967.svg

[author-npm-url]: https://www.npmjs.com/~tunnckocore
[author-npm-img]: https://img.shields.io/badge/npm-~tunnckocore-cb3837.svg

[author-twitter-url]: https://twitter.com/tunnckoCore
[author-twitter-img]: https://img.shields.io/badge/twitter-@tunnckoCore-55acee.svg

[author-github-url]: https://github.com/tunnckoCore
[author-github-img]: https://img.shields.io/badge/github-@tunnckoCore-4183c4.svg

[freenode-url]: http://webchat.freenode.net/?channels=charlike
[freenode-img]: https://img.shields.io/badge/freenode-%23charlike-5654a4.svg

[new-message-url]: https://github.com/tunnckoCore/messages
[new-message-img]: https://img.shields.io/badge/ask%20me-anything-green.svg

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