https://github.com/afeiship/next-times
Invokes the iteratee function n times.
https://github.com/afeiship/next-times
next react times
Last synced: 6 months ago
JSON representation
Invokes the iteratee function n times.
- Host: GitHub
- URL: https://github.com/afeiship/next-times
- Owner: afeiship
- License: mit
- Created: 2017-09-12T09:30:35.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-26T04:10:38.000Z (over 4 years ago)
- Last Synced: 2025-02-07T10:45:31.125Z (8 months ago)
- Topics: next, react, times
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-times
> Invokes the iteratee function n times.[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]## installation
```bash
npm install -S @jswork/next-times
```## usage
```js
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](https://github.com/afeiship/next-times/blob/master/LICENSE.txt).[version-image]: https://img.shields.io/npm/v/@jswork/next-times
[version-url]: https://npmjs.org/package/@jswork/next-times[license-image]: https://img.shields.io/npm/l/@jswork/next-times
[license-url]: https://github.com/afeiship/next-times/blob/master/LICENSE.txt[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-times
[size-url]: https://github.com/afeiship/next-times/blob/master/dist/next-times.min.js[download-image]: https://img.shields.io/npm/dm/@jswork/next-times
[download-url]: https://www.npmjs.com/package/@jswork/next-times