https://github.com/iterable-iterator/count
:sheep: A counting function for JavaScript
https://github.com/iterable-iterator/count
Last synced: 3 months ago
JSON representation
:sheep: A counting function for JavaScript
- Host: GitHub
- URL: https://github.com/iterable-iterator/count
- Owner: iterable-iterator
- License: agpl-3.0
- Created: 2021-04-27T16:20:07.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-24T04:56:26.000Z (9 months ago)
- Last Synced: 2024-10-24T22:37:44.589Z (8 months ago)
- Language: JavaScript
- Homepage: https://iterable-iterator.github.io/count
- Size: 2.06 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
:sheep: [@iterable-iterator/count](https://iterable-iterator.github.io/count)
==A counting function for JavaScript.
See [docs](https://iterable-iterator.github.io/count/index.html).> :warning: Depending on your environment, the code may require
> `regeneratorRuntime` to be defined, for instance by importing
> [regenerator-runtime/runtime](https://www.npmjs.com/package/regenerator-runtime).```js
import {count} from '@iterable-iterator/count';
for (const i of count()) console.log(i); // 0 1 2 3 4 ...
count(2, 3); // 2 5 8 11 14 ...
```[](https://raw.githubusercontent.com/iterable-iterator/count/main/LICENSE)
[](https://www.npmjs.org/package/@iterable-iterator/count)
[](https://github.com/iterable-iterator/count/actions/workflows/ci.yml?query=branch:main)
[](https://github.com/iterable-iterator/count/network/dependencies)
[](https://github.com/iterable-iterator/count/issues)
[](https://www.npmjs.org/package/@iterable-iterator/count)[](https://codeclimate.com/github/iterable-iterator/count/issues)
[](https://codeclimate.com/github/iterable-iterator/count/trends/churn)
[](https://codecov.io/gh/iterable-iterator/count)
[](https://codeclimate.com/github/iterable-iterator/count/trends/technical_debt)
[](https://iterable-iterator.github.io/count/source.html)
[](https://bundlephobia.com/result?p=@iterable-iterator/count)