README
next-times
Invokes the iteratee function n times.
installation
npm install -S @jswork/next-times
usage
import '@jswork/next-times';
const res = nx.times(3, (index) => {
return { index };
});
// [ { index: 0 }, { index: 1 }, { index: 2 } ]
license
Code released under the MIT license.