1.0.4 • Published 1 year ago

possible-numbers v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago