# is-whole-number

> Check if a number is a whole number.

Latest version **1.1.0** (published 2016-06-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-whole-number
pnpm add is-whole-number
yarn add is-whole-number
bun add is-whole-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.1.0 |
| Published | 2016-06-09 |
| First published | 2015-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Bjarne Oeverli |
| Maintainers | bjarneo |
| Keywords | is, whole, number |

## Links

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

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

- 1.1.0 (latest) — 2016-06-09
- 1.0.0 — 2015-12-16

## README

is-whole-number
======

What
------
Check if a number is a whole number.

Installation
------
```
$ npm install --save is-whole-number
```

Usage
------
```javascript
var isWholeNumber = require('is-whole-number');

console.log(isWholeNumber(1));
// True

console.log(isWholeNumber(1.2));
// False
```

Test
------
```
npm test
```

Contribution
------
Contributions are appreciated.

License
------
MIT-licensed. See LICENSE.

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