# typeof-plus

> typeof-plus is a small tool to judge the data type of variables

Latest version **1.0.5** (published 2022-08-18) · ISC license · 0 weekly downloads

## Install

```sh
npm install typeof-plus
pnpm add typeof-plus
yarn add typeof-plus
bun add typeof-plus
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2022-08-18 |
| First published | 2022-06-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | hym |
| Maintainers | hymenhan |
| Keywords | javascript, datatype, typeof, typeof-plus |

## Links

- npm: https://www.npmjs.com/package/typeof-plus
- Repository: https://github.com/hymhub/typeof-plus
- Issues: https://github.com/hymhub/typeof-plus/issues
- npm.io page: https://npm.io/package/typeof-plus

## Recent versions

- 1.0.5 (latest) — 2022-08-18
- 1.0.4 — 2022-06-06
- 1.0.3 — 2022-06-03

## README

# typeof-plus - a small tool to judge the data type of variables

# Install
```shell
npm install typeof-plus
```

# Usage
```js
import { typeis } from "typeof-plus";
typeis(null); // null
typeis([1, 2, 3]); // array
typeis({ name: "test" }); // object
typeis(/abc/g); // regexp
typeis(new Date()); // date
typeis(123n); // bigint
typeis(123); // number
typeis(undefined); // undefined
typeis("hello"); // string
typeis(true); // boolean
typeis(Symbol("test")); // symbol
typeis(() => {}); // function
```

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