Licence
MIT
Version
1.1.0
Deps
2
Size
5 kB
Vulns
0
Weekly
0
random_SUM
returns n random numbers to get a sum k
#install $ npm install random-sum
#Usage
const randomSum = require('random-sum');
var output = randomSum(3, 52);
//=>[14, 23,15]
//n as the first parameter and k as the second parameter