A simple function that generates a n-parasitic number(in base 10).
npm i -S parasitic-numbers
var parasiticNumber = require('parasitic-numbers');
//Use parasiticNumber(n, k) with k >= n
console.log(parasiticNumber(1,1)); // 1
console.log(parasiticNumber(2,2)); // 105263157894736842
console.log(parasiticNumber(3,3)); // 1034482758620689655172413793
console.log(parasiticNumber(3,5)); // 1724137931034482758620689655