1.0.6 • Published 4 years ago

@sovpro/split-num v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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

Split into an array

let split_num = splitNum (123)

Split into an iterable value

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

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago