# numit

> Iterator for numbers to generate arrays

Latest version **1.0.0** (published 2017-05-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install numit
pnpm add numit
yarn add numit
bun add numit
```

## 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 | 2017-05-29 |
| First published | 2017-05-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | redfoxcode |
| Keywords | number, numbers, array, generator, iterator |

## Links

- npm: https://www.npmjs.com/package/numit
- Repository: https://github.com/RedFoxCode/numit
- Homepage: https://github.com/RedFoxCode/numit#readme
- Issues: https://github.com/RedFoxCode/numit/issues
- npm.io page: https://npm.io/package/numit

## 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) — 2017-05-29

## README

# numit

Just an iterator for numbers to generate arrays.

# Installation

**npm**

```sh
npm i numit
```

# Usage

```javascript
require("numit"); // First require it

// examples
[...10] // => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
[...-10] // => [-1, -2, -3, -4, -5, -6, -7, -8, -9, -10]
[...0] // => []
[...Infinity] // throws exception (e.g. must be safe integer)

// low-level
Number.range(10); // => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
```

# Testing

For testing first install all dependencies

```sh
npm install
```

Test command:

```sh
npm run test
```

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