# @guanghechen/helper-is

> Utilities to detect data type.

Latest version **6.0.0-alpha.3** (published 2024-09-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @guanghechen/helper-is
pnpm add @guanghechen/helper-is
yarn add @guanghechen/helper-is
bun add @guanghechen/helper-is
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 6.0.0-alpha.3 |
| Published | 2024-09-18 |
| First published | 2022-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >= 18.0.0 |
| Dependencies | 0 |
| Unpacked size | 36.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | guanghechen |
| Maintainers | lemonclown |
| Keywords | is, detect type |

## Links

- npm: https://www.npmjs.com/package/@guanghechen/helper-is
- Repository: https://github.com/guanghechen/node-scaffolds/tree/@guanghechen/helper-is@6.0.0-alpha.2
- Homepage: https://github.com/guanghechen/node-scaffolds/tree/@guanghechen/helper-is@6.0.0-alpha.2/packages/helper-is#readme
- npm.io page: https://npm.io/package/@guanghechen/helper-is

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 6.0.0-alpha.3 (latest) — 2024-09-18
- 6.0.0-alpha.2 — 2024-09-17
- 6.0.0-alpha.1 — 2023-12-04
- 6.0.0-alpha.0 — 2023-11-18
- 5.0.9 — 2023-10-18
- 5.0.8 — 2023-10-04
- 5.0.7 — 2023-09-07
- 5.0.6 — 2023-08-27
- 5.0.5 — 2023-08-19
- 5.0.4 — 2023-08-08
- 5.0.3 — 2023-07-25
- 5.0.2 — 2023-07-15
- 5.0.1 — 2023-05-26
- 5.0.0 — 2023-05-13
- 5.0.0-alpha.3 — 2023-05-07
- … 56 more at https://npm.io/package/@guanghechen/helper-is/versions

## README

<header>
  <h1 align="center">
    <a href="https://github.com/guanghechen/node-scaffolds/tree/@guanghechen/helper-is@6.0.0-alpha.3/packages/helper-is#readme">@guanghechen/helper-is</a>
  </h1>
  <div align="center">
    <a href="https://www.npmjs.com/package/@guanghechen/helper-is">
      <img
        alt="Npm Version"
        src="https://img.shields.io/npm/v/@guanghechen/helper-is.svg"
      />
    </a>
    <a href="https://www.npmjs.com/package/@guanghechen/helper-is">
      <img
        alt="Npm Download"
        src="https://img.shields.io/npm/dm/@guanghechen/helper-is.svg"
      />
    </a>
    <a href="https://www.npmjs.com/package/@guanghechen/helper-is">
      <img
        alt="Npm License"
        src="https://img.shields.io/npm/l/@guanghechen/helper-is.svg"
      />
    </a>
    <a href="https://github.com/nodejs/node">
      <img
        alt="Node.js Version"
        src="https://img.shields.io/node/v/@guanghechen/helper-is"
      />
    </a>
    <a href="https://github.com/facebook/jest">
      <img
        alt="Tested with Jest"
        src="https://img.shields.io/badge/tested_with-jest-9c465e.svg"
      />
    </a>
    <a href="https://github.com/prettier/prettier">
      <img
        alt="Code Style: prettier"
        src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"
      />
    </a>
  </div>
</header>
<br/>

Utilities to detect data type.


## Install

* npm

  ```bash
  npm install --save-dev @guanghechen/helper-is
  ```

* yarn

  ```bash
  yarn add --dev @guanghechen/helper-is
  ```

## Usage

Name                  | Description
:--------------------:|:----------------------------------------------------------------
`isArray`             | Check if the given data is a `Array` type
`isBigint`            | Check if the given data is a `bigint` type
`isBoolean`           | Check if the given data is a `boolean` / `Boolean` type
`isDate`              | Check if the given data is a `Date` type
`isFunction`          | Check if the given data is a `Function` type
`isInteger`           | Check if the given data is a `Integer` type
`isNumber`            | Check if the given data is a `number` / `Number` type
`isObject`            | Check if the given data is a `Object` type
`isString`            | Check if the given data is a `string` / `String` type
`isSymbol`            | Check if the given data is a `symbol` type
`isUndefined`         | Check if the given data is a `undefined` type
`isPlainObject`       | Check if the given value is a plain object.
`isPrimitiveBoolean`  | Check if the given data is a `boolean` type
`isPrimitiveInteger`  | Check if the given data is a `integer` type
`isPrimitiveNumber`   | Check if the given data is a `number` type
`isPrimitiveString`   | Check if the given data is a `string` type
`isNonBlankString`    | Check if the given data is an non-blank `string` / `String` type
`isNotEmptyArray`     | Check if the given data is an not-empty `Array` type
`isNotEmptyObject`    | Check if the given data is an not-empty `Object` type
`isEmptyObject`       | Check if the given data is an empty `Object` type
`isNumberLike`        | Check if the given data is an `number` / `Number` or number like `string` type


[homepage]: https://github.com/guanghechen/node-scaffolds/tree/@guanghechen/helper-is@6.0.0-alpha.3/packages/helper-is#readme

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