@jswork/next-times

1.0.1 • Public • Published

next-times

Invokes the iteratee function n times.

version license size download

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.

Readme

Keywords

Package Sidebar

Install

npm i @jswork/next-times

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

4.51 kB

Total Files

5

Last publish

Collaborators

  • afeiship