# devtools-type

> tool for developers detect type of value

Latest version **0.2.1** (published 2020-11-06) · MIT license · 0 weekly downloads

## Install

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

## 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.2.1 |
| Published | 2020-11-06 |
| First published | 2020-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 33.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Viviane Florido |
| Maintainers | vivianeflowt |
| Keywords | node, js, javascript, detect, type, variable, value, type detect |

## Links

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

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.2.1 (latest) — 2020-11-06
- 0.2.0 — 2020-10-24
- 0.1.3 — 2020-10-24
- 0.1.1 — 2020-10-18

## README

## devtools - type - developer tool to detect type of value

### Install

With [npm](https://npmjs.org/):

```shell
npm install devtools-type
```

With [yarn](https://yarnpkg.com/en/):

```shell
yarn add devtools-type
```

### Usage

```js
const type = require('devtools-type')

console.log(type.typeOf('hello world'))
console.log(type.typeOf({}))
console.log(type.typeOf([]))
console.log(type.is.string('123'))
console.log(type.is.string(1))
console.log(type.isNot.string(1))
```

<span> Result: </span> <br />
![example](https://github.com/vivianeflowt/devtools-type/blob/main/examples/example.png)

### License

MIT

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