1.0.4 • Published 3 years ago

possible-numbers v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

possible-numbers

CI

with this package you can generate All possible numbers with specific length

Installation and Usage

Server-side usage

Install the library with npm install possible-numbers

No ES6

var all_possible_nums = require('possible-numbers');

let allCombitions = all_possible_nums({
    "one": [1],
    "two": [1, 2, 3, 4, 5, 6, 7, 8, 9],
    "three": [1]
})

console.log(allCombitions) //=> [
//   111, 121, 131,
//   141, 151, 161,
//   171, 181, 191
// ]

ES6

import all_possible_nums from "possible-numbers";

Maintainers

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago