# @sovpro/split-num

> Split an integer number into an array or iterable value of single-digit numbers

Latest version **1.0.6** (published 2020-01-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @sovpro/split-num
pnpm add @sovpro/split-num
yarn add @sovpro/split-num
bun add @sovpro/split-num
```

## 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.6 |
| Published | 2020-01-27 |
| First published | 2020-01-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.0.0 |
| Dependencies | 0 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | sovpro |
| Maintainers | sovpro |
| Keywords | split, number, array, digits |

## Links

- npm: https://www.npmjs.com/package/@sovpro/split-num
- Repository: https://github.com/sovpro/split-num
- Homepage: https://github.com/sovpro/split-num#readme
- Issues: https://github.com/sovpro/split-num/issues
- npm.io page: https://npm.io/package/@sovpro/split-num

## 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.6 (latest) — 2020-01-27
- 1.0.5 — 2020-01-19
- 1.0.4 — 2020-01-16
- 1.0.3 — 2020-01-16
- 1.0.2 — 2020-01-15
- 1.0.1 — 2020-01-15
- 1.0.0 — 2020-01-15

## README

# Split Number

Split an integer number into an array or iterable value of single-digit numbers.

[![Build status for Node.js 4.x and newer](https://github.com/sovpro/split-num/workflows/Node.js%204.x%20and%20newer%20/badge.svg?branch=master)](https://github.com/sovpro/split-num/commits/master)

## Split into an array

```js
let split_num = splitNum (123)
```

## Split into an iterable value

```js
let split_iterable = splitNum.lazy (123)
for (let digit of split_iterable) {
  // ... do stuff with digit
}
```

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