# is-js-type

> Is string a JS Type

Latest version **3.0.0** (published 2024-05-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-js-type
pnpm add is-js-type
yarn add is-js-type
bun add is-js-type
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2024-05-24 |
| First published | 2015-11-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=18.0.0 |
| Dependencies | 1 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dustin Specker |
| Maintainers | dustinspecker |
| Keywords | js, javascript, ecmascript, builtin, types, type |

## Links

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

## Dependencies (1)

- [js-types](https://npm.io/package/js-types.md) ^4.0.0

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

- 3.0.0 (latest) — 2024-05-24
- 2.0.0 — 2016-10-16
- 1.0.0 — 2015-11-01

## README

# is-js-type
[![NPM version](https://badge.fury.io/js/is-js-type.svg)](https://badge.fury.io/js/is-js-type) [![Coverage Status](https://img.shields.io/coveralls/dustinspecker/is-js-type.svg)](https://coveralls.io/r/dustinspecker/is-js-type?branch=main)

[![Code Climate](https://codeclimate.com/github/dustinspecker/is-js-type/badges/gpa.svg)](https://codeclimate.com/github/dustinspecker/is-js-type)

> Is string a JS Type

**Uses [Sindre Sorhus](https://github.com/sindresorhus)' [js-types](https://github.com/sindresorhus/js-types)**

## Install
```
npm install --save is-js-type
```

## Usage
### ES2015
```javascript
import isJsType from 'is-js-type';

isJsType('Array');
// => true

isJsType('Error');
// => true

isJsType('array');
// => false

isJsType('dog');
// => false
```

## LICENSE
MIT © [Dustin Specker](https://github.com/dustinspecker)

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