# type-verify

> micro type checker that unifies 2 ways to check type in javascript

Latest version **0.4.0** (published 2017-03-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install type-verify
pnpm add type-verify
yarn add type-verify
bun add type-verify
```

## 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.4.0 |
| Published | 2017-03-09 |
| First published | 2016-05-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Xavier Garcia Buils |
| Maintainers | xgbuils |
| Keywords | type, checker, validate, validator, verify, is |

## Links

- npm: https://www.npmjs.com/package/type-verify
- Repository: https://github.com/xgbuils/type-verify
- Homepage: https://github.com/xgbuils/type-verify#readme
- Issues: https://github.com/xgbuils/type-verify/issues
- npm.io page: https://npm.io/package/type-verify

## 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.4.0 (latest) — 2017-03-09
- 0.3.0 — 2016-05-19
- 0.2.1 — 2016-05-19
- 0.2.0 — 2016-05-19
- 0.1.0 — 2016-05-18

## README

# type-verify

### Version 0.4.0

### ---
I'm looking for a npm module with this features:

1. To be very tiny
2. To provide typeof verify
3. To provide [object Type] verify
4. To provide instanceof verify
5. Unify 3 previous features in one function 
6. But not modify these behaviours
7. To report expected type values and actual type values

This is a list of npm modules that I've found:

- [call-type](https://www.npmjs.com/package/call-type) (no 1, no 2, no 4)
- [check-type](https://www.npmjs.com/package/check-type) (out of scope)
- [data-type](https://www.npmjs.com/package/data-type) (no 1)
- [fn-type](https://www.npmjs.com/package/fn-type) (no 2, no 4)
- [get-object-type](https://www.npmjs.com/package/get-object-type) (no 2, no 4 but interesting)
- [get-type](https://www.npmjs.com/package/get-type) (no repository)
- [get-type-of](https://www.npmjs.com/package/get-type-of) (get type, does not verify)
- [is-a](https://www.npmjs.com/package/is-a) (no 1)
- [is-js-type](https://www.npmjs.com/package/is-js-type) (out of scope)
- [is-type](https://www.npmjs.com/package/is-type) (no 1, -> dependencies)
- [isa](https://www.npmjs.com/package/isa) (no 1)
- [istype](https://www.npmjs.com/package/istype) (no 1)
- [is-type-of](https://www.npmjs.com/package/is-type-of) (no 1)
- [itype](https://www.npmjs.com/package/itype) (no 1)
- [js-type](https://www.npmjs.com/package/js-type) (no 4, partial 2 & 3)
- [kk](https://www.npmjs.com/package/kk) (no 1)
- [obj-type](https://www.npmjs.com/package/obj-type) (no 2, no 4, cool! very tiny)
- [should-type](https://www.npmjs.com/package/should-type) (no 1, missing documentation)
- [type](https://www.npmjs.com/package/type) (no 1, missing documentation)
- [type-assert](https://www.npmjs.com/package/type-assert) (no 1 -> dependencies)
- [type-assertion](https://www.npmjs.com/package/type-assertion) (no 2, no 4 -> dependencies obj-type)
- [type-check](https://www.npmjs.com/package/type-check) (out of scope, no 1)
- [type-detect](https://www.npmjs.com/package/type-detect) (no 1, no 6)
- [type-guard](https://www.npmjs.com/package/type-guard) (out of scope, no 1)
- [type-js](https://www.npmjs.com/package/type-js) (no 1)
- [type-name](https://github.com/twada/type-name/blob/master/index.js) (very cool, pending to analyze)
- [type-of](https://www.npmjs.com/package/type-of) (no 6)
- [type-of-is](https://www.npmjs.com/package/type-of-is) (no 1)
- [type-type](https://www.npmjs.com/package/type-type) (NOT FOUND)
- [type-validator](https://www.npmjs.com/package/type-validator) (NOT FOUND)
- [typedof](https://www.npmjs.com/package/typedof) (no 4)
- [typer](https://www.npmjs.com/package/typer) (no verify, only get type)
- [typist.js](https://www.npmjs.com/package/typist.js) (no 1)
- [useful-type](https://www.npmjs.com/package/useful-type) (no 1)
- [utils-type](https://www.npmjs.com/package/utils-type)
- [validate-type](https://www.npmjs.com/package/validate-type) (no 1)
- [value-type](https://www.npmjs.com/package/value-type) (out of scope)
- [var-type](https://www.npmjs.com/package/var-type) (no 2, no 4, Cool!! it's very tiny, but only works with [object Type])
- [what-type](https://www.npmjs.com/package/what-type) (no 4)

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