# @types/range-inclusive

> TypeScript definitions for range-inclusive

Latest version **1.0.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/range-inclusive
pnpm add @types/range-inclusive
yarn add @types/range-inclusive
bun add @types/range-inclusive
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-11-07 |
| First published | 2022-08-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/range-inclusive
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/range-inclusive
- npm.io page: https://npm.io/package/@types/range-inclusive

## Recent versions

- 1.0.2 (latest) — 2023-11-07
- 1.0.0 (ts4.0) — 2022-08-29
- 1.0.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/range-inclusive`

# Summary
This package contains type definitions for range-inclusive (https://github.com/emilbayes/range-inclusive).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/range-inclusive.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/range-inclusive/index.d.ts)
````ts
export = rangeInclusive;

/**
 * Generate a closed range of numbers `[a, b]` with step size `d`.
 *
 * @example
 * import rangeInclusive = require('range-inclusive')
 *
 * rangeInclusive(10) // [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
 * rangeInclusive(3, 9, 3) // [3, 6, 9]
 * rangeInclusive(7, 5, -1) // [7, 6, 5]
 */
declare function rangeInclusive(stop: number): number[];
declare function rangeInclusive(
    /** @default 1 */
    start: number,
    stop: number,
    /** @default 1 */
    // tslint:disable-next-line unified-signatures
    stepSize?: number,
): number[];

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).

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