# izzy

> A robust micro library for type checking. Defers to constructs' internal `[[Class]]` property rather than duck typing for excellent type detection and to avoid triggering false positives.

Latest version **1.0.1** (published 2015-02-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install izzy
pnpm add izzy
yarn add izzy
bun add izzy
```

## 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-02-01 |
| First published | 2013-09-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Boris Cherny |
| Maintainers | bcherny |
| Keywords | is, type, typeof, type check, string, number, defined, array, object, boolean, primitive, element, class, duck |

## Links

- npm: https://www.npmjs.com/package/izzy
- Repository: https://github.com/eighttrackmind/izzy
- Issues: https://github.com/eighttrackmind/izzy/issues
- npm.io page: https://npm.io/package/izzy

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

- 1.0.1 (latest) — 2015-02-01
- 1.0.0 — 2013-12-16
- 0.1.5 — 2013-11-20
- 0.1.4 — 2013-10-24
- 0.1.3 — 2013-10-08
- 0.1.2 — 2013-10-05
- 0.1.1 — 2013-09-17
- 0.1.0 — 2013-09-17

## README

# izzy

A robust micro library for type checking. Defers to constructs' internal `[[Class]]` property rather than duck typing for excellent type detection and to avoid triggering false positives.

[![Build Status](https://travis-ci.org/eighttrackmind/izzy.png)](https://travis-ci.org/eighttrackmind/izzy.png)
[![browser support](https://ci.testling.com/eighttrackmind/izzy.png)](https://ci.testling.com/eighttrackmind/izzy)

## usage

```js
izzy.string ('foo') // true
izzy.string (new String('foo')) // true

izzy ('string', 'foo') // true
izzy ('string', 42) // false
```

## supported checks

array, boolean, undefined, element, function, nan, null, number, object, string

## size

|						|				|
|-----------------------|---------------|
| Raw					| 1.49 kb		|
| Uglified				| 843 b			|
| Uglified + gzipped	| 361 b			|

## environment support

Any browser (as `window.izzy` if you're not using a module loader), AMD, CommonJS, NodeJS

## building it yourself

```bash
npm install
grunt
```

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