possible-numbers

1.0.4 • Public • Published

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

Package Sidebar

Install

npm i possible-numbers

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

7.71 kB

Total Files

4

Last publish

Collaborators

  • alirezakargar