# @lamansky/is-number

> Returns true if a value is a number and not NaN.

Latest version **1.0.0** (published 2018-04-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lamansky/is-number
pnpm add @lamansky/is-number
yarn add @lamansky/is-number
bun add @lamansky/is-number
```

## 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.0 |
| Published | 2018-04-18 |
| First published | 2018-04-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0.0 |
| Dependencies | 0 |
| Unpacked size | 2.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | John Lamansky |
| Maintainers | lamansky |
| Keywords | type, type check, number |

## Links

- npm: https://www.npmjs.com/package/@lamansky/is-number
- Repository: https://github.com/lamansky/is-number
- Issues: https://github.com/lamansky/is-number/issues
- npm.io page: https://npm.io/package/@lamansky/is-number

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-04-18

## README

# is-number

Returns true if a value is a number and not NaN.

```javascript
module.exports = x => typeof x === 'number' && !Number.isNaN(x)
```

## Installation

Requires [Node.js](https://nodejs.org/) 4.0.0 or above.

```bash
npm i @lamansky/is-number
```

## Related

For more modules like this, check out [@lamansky/is](https://github.com/lamansky/is).

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