# component-is

> Simple type checking.

Latest version **0.1.0** (published 2014-01-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install component-is
pnpm add component-is
yarn add component-is
bun add component-is
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-01-06 |
| First published | 2014-01-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 76 |
| Author | Ian Storm Taylor |
| Maintainers | maxogden |
| Keywords | type, is |

## Links

- npm: https://www.npmjs.com/package/component-is
- Repository: https://github.com/ianstormtaylor/is
- Issues: https://github.com/ianstormtaylor/is/issues
- npm.io page: https://npm.io/package/component-is

## Dependencies (2)

- [is-empty](https://npm.io/package/is-empty.md) 0.0.1
- [component-type](https://npm.io/package/component-type.md) ~1.0.0

## 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

- 0.1.0 (latest) — 2014-01-06

## README

# is
  
  Simple type checking.

## Installation

    $ component install ianstormtaylor/is
    $ npm install ianstormtaylor/is

## Example

```js
var is = require('is');

is.arguments(arguments);   // true
is.array([]);              // true
is.boolean(true);          // true
is.date(new Date);         // true
is.element(document.body); // true
is.function(function(){}); // true
is.fn(function(){});       // true
is.null(null);             // true
is.number(42);             // true
is.object({});             // true
is.regexp(/[A-Za-z0-9]+/); // true
is.string('A');            // true
is.undefined(undefined);   // true
is.empty([]);              // true
```

_Note: If you need old browser support, use `.fn` instead of `.function`._

## License

  MIT

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