# in-interval

> Determines whether the number in the specified interval

Latest version **1.0.1** (published 2022-04-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install in-interval
pnpm add in-interval
yarn add in-interval
bun add in-interval
```

## 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.1 |
| Published | 2022-04-15 |
| First published | 2015-02-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dmitry Semigradsky |
| Maintainers | semigradsky |
| Keywords | mathematics, interval, math, check, include |

## Links

- npm: https://www.npmjs.com/package/in-interval
- Repository: https://github.com/Semigradsky/in-interval
- Homepage: https://github.com/Semigradsky/in-interval#readme
- Issues: https://github.com/Semigradsky/in-interval/issues
- npm.io page: https://npm.io/package/in-interval

## Dependencies (1)

- [math-interval-parser](https://npm.io/package/math-interval-parser.md) ^2.0.1

## 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.1 (latest) — 2022-04-15
- 1.0.0 — 2015-02-24

## README

# In interval [![Build Status](https://travis-ci.org/Semigradsky/in-interval.svg)](https://travis-ci.org/Semigradsky/in-interval) [![Dependency Status](https://david-dm.org/Semigradsky/in-interval.svg)](https://david-dm.org/Semigradsky/in-interval)

> Determines whether the number in the specified interval.


## Install

```sh
$ npm install --save in-interval
```


## Usage

```js
var inRange = require('in-interval');

inRange(0, '[-10,Infinity)');
//=> true

inRange(Math.PI, {
	from: {
		value: -1,
		included: false
	},
	to: {
		value: 1,
		included: false
	}
});
//=> false

```


## License

MIT © Dmitry Semigradsky

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