# is-bounded-number

> Check if an input is numeric, and within a given bound

Latest version **1.2.8** (published 2019-12-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install is-bounded-number
pnpm add is-bounded-number
yarn add is-bounded-number
bun add is-bounded-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.2.8 |
| Published | 2019-12-20 |
| First published | 2018-07-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | David Ryan |
| Maintainers | davidryan |
| Keywords | bound, bounded, bounds, check, input, is, limit, limits, number, value |

## Links

- npm: https://www.npmjs.com/package/is-bounded-number
- Repository: https://github.com/davidryan59/is-bounded-number
- Homepage: https://github.com/davidryan59/is-bounded-number#readme
- Issues: https://github.com/davidryan59/is-bounded-number/issues
- npm.io page: https://npm.io/package/is-bounded-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.2.8 (latest) — 2019-12-20
- 1.2.7 — 2019-02-21
- 1.2.6 — 2019-02-21
- 1.2.5 — 2019-02-21
- 1.2.4 — 2019-02-21
- 1.2.2 — 2019-01-20
- 1.2.1 — 2019-01-08
- 1.2.0 — 2019-01-08
- 1.1.3 — 2019-01-04
- 1.1.2 — 2019-01-04
- 1.1.1 — 2019-01-02
- 1.1.0 — 2019-01-02
- 1.0.2 — 2018-12-25
- 1.0.1 — 2018-07-12
- 1.0.0 — 2018-07-12

## README

# is-bounded-number

[![npm version](https://badge.fury.io/js/is-bounded-number.png)](https://badge.fury.io/js/is-bounded-number)[![Build status](https://travis-ci.org/davidryan59/is-bounded-number.svg?master)](https://travis-ci.org/davidryan59)

Checks that a number is numeric, finite, and within a specific range (default is +/- 1e15). Find [module on npm](https://www.npmjs.com/package/is-bounded-number) and [code repo with examples on GitHub](https://github.com/davidryan59/is-bounded-number).

## API
``` js
var ibn = require('is-bounded-number');
ibn(input);          // Returns boolean. Checks input numeric and bounded by +/- 1e15
ibn(input, bound);   // Returns boolean
```

Use `npm i is-bounded-number` to install. For full examples see GitHub `examples` directory.

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