# @pakal/type-of

> Type Of is package from Pakal library

Latest version **0.2.1** (published 2019-04-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pakal/type-of
pnpm add @pakal/type-of
yarn add @pakal/type-of
bun add @pakal/type-of
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2019-04-15 |
| First published | 2019-03-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 20.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Yisrael Eliev |
| Maintainers | yisraelx |
| Keywords | utils, utilities, modules, modular |

## Links

- npm: https://www.npmjs.com/package/@pakal/type-of
- Repository: https://github.com/yisraelx/pakal
- Homepage: https://github.com/yisraelx/pakal#readme
- Issues: https://github.com/yisraelx/pakal/issues
- npm.io page: https://npm.io/package/@pakal/type-of

## Recent versions

- 0.2.1 (latest) — 2019-04-15
- 0.2.0 — 2019-03-31

## README

# @pakal/type-of
[![Source Code](https://img.shields.io/badge/%3C%2F%3E-source_code-blue.svg)](https://github.com/yisraelx/pakal/blob/master/modules/type-of)
[![Version](https://img.shields.io/npm/v/@pakal/type-of.svg)](https://www.npmjs.com/package/@pakal/type-of)
[![MIT License](https://img.shields.io/npm/l/@pakal/type-of.svg?color=yellow)](https://github.com/yisraelx/pakal/blob/master/LICENSE)
[![Bundle Size](https://img.shields.io/bundlephobia/min/@pakal/type-of.svg?color=green)](https://bundlephobia.com/result?p=@pakal/type-of)
[![TypeScript](https://img.shields.io/badge/100%25-TypeScript-blue.svg)](https://www.typescriptlang.org)

**Type Of is package from Pakal library**

## Install
```sh
$ yarn add @pakal/type-of
```
Or
```sh
$ npm install --save @pakal/type-of
```

## Use
**Module**
```typescript
import {
  $bigint,
  $boolean,
  $function,
  $null,
  $number,
  $object,
  $string,
  $symbol,
  $undefined,
  ITypeKeys,
  default as typeOf
} from '@pakal/type-of';
```

**Browser**
```html
<script src="https://unpkg.com/@pakal/type-of/bundle.umd.min.js"></script>
```
```typescript
let {
  $bigint,
  $boolean,
  $function,
  $null,
  $number,
  $object,
  $string,
  $symbol,
  $undefined,
  typeOf
} = _;
```

**Examples**
```typescript
 typeOf('foo'); // => 'string'
 typeOf(Object('foo')); // => 'object'
 typeOf(null); // => 'null'
 typeOf(v => v); // => 'function'
 typeOf(SymbolPolyfill('foo')); // => 'object'
 typeOf(BigIntPolyfill(1)); // => 'object'
```


## License
Copyright © [Yisrael Eliev](https://github.com/yisraelx),
Licensed under the [MIT license](https://github.com/yisraelx/pakal/blob/master/LICENSE).

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