# itype

> Improved type check

Latest version **3.0.1** (published 2019-12-13) · MIT license · 0 weekly downloads

## Install

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

## 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 | 3.0.1 |
| Published | 2019-12-13 |
| First published | 2014-12-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 0 |
| Unpacked size | 4.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | coderaiser |
| Maintainers | coderaiser |
| Keywords | type, string, array, object, boolean, null, undefined, check |

## Links

- npm: https://www.npmjs.com/package/itype
- Repository: https://github.com/coderaiser/itype
- Homepage: https://github.com/coderaiser/itype#readme
- Issues: https://github.com/coderaiser/itype/issues
- npm.io page: https://npm.io/package/itype

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 3.0.1 (latest) — 2019-12-13
- 3.0.0 — 2019-12-13
- 2.0.4 — 2019-12-13
- 2.0.3 — 2016-12-28
- 2.0.2 — 2016-12-28
- 2.0.1 — 2016-12-28
- 2.0.0 — 2016-12-28
- 1.0.2 — 2015-01-30
- 1.0.1 — 2014-12-22
- 1.0.0 — 2014-12-22

## README

# iType [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]

Improved type check.

## Install

```
npm i itype --save
```

## How to use?

```js
const itype = require('itype');

console.og(itype.string('hello'))
// returns
true

console.log(itype('world'));
// returns
'string'

console.log(itype.array([1, 2]));
// returns
true
```

## License

MIT

[NPMIMGURL]:                https://img.shields.io/npm/v/itype.svg?style=flat
[BuildStatusIMGURL]:        https://img.shields.io/travis/coderaiser/itype/master.svg?style=flat
[DependencyStatusIMGURL]:   https://img.shields.io/david/coderaiser/itype.svg?style=flat
[LicenseIMGURL]:            https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat
[NPMURL]:                   https://npmjs.org/package/itype "npm"
[BuildStatusURL]:           https://travis-ci.org/coderaiser/itype  "Build Status"
[DependencyStatusURL]:      https://david-dm.org/coderaiser/itype "Dependency Status"
[LicenseURL]:               https://tldrlegal.com/license/mit-license "MIT License"

[CoverageURL]:              https://coveralls.io/github/coderaiser/itype?branch=master
[CoverageIMGURL]:           https://coveralls.io/repos/coderaiser/itype/badge.svg?branch=master&service=github

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