# @iterable-iterator/count

> A counting function for JavaScript

Latest version **1.0.1** (published 2021-07-15) · AGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @iterable-iterator/count
pnpm add @iterable-iterator/count
yarn add @iterable-iterator/count
bun add @iterable-iterator/count
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-07-15 |
| First published | 2021-04-27 |
| Weekly downloads | 0 |
| License | AGPL-3.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 483.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Author | make-github-pseudonymous-again |
| Maintainers | aureooms |
| Keywords | count, iter, iterable, iterator |

## Links

- npm: https://www.npmjs.com/package/@iterable-iterator/count
- Repository: https://github.com/iterable-iterator/count
- Homepage: https://iterable-iterator.github.io/count
- Issues: https://github.com/iterable-iterator/count/issues
- npm.io page: https://npm.io/package/@iterable-iterator/count

## Recent versions

- 1.0.1 (latest) — 2021-07-15
- 1.0.0 — 2021-07-14
- 0.0.1 — 2021-04-27
- 0.0.0 — 2021-04-27

## 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 ...
```

[![License](https://img.shields.io/github/license/iterable-iterator/count.svg)](https://raw.githubusercontent.com/iterable-iterator/count/main/LICENSE)
[![Version](https://img.shields.io/npm/v/@iterable-iterator/count.svg)](https://www.npmjs.org/package/@iterable-iterator/count)
[![Tests](https://img.shields.io/github/workflow/status/iterable-iterator/count/ci:test?event=push&label=tests)](https://github.com/iterable-iterator/count/actions/workflows/ci:test.yml?query=branch:main)
[![Dependencies](https://img.shields.io/david/iterable-iterator/count.svg)](https://david-dm.org/iterable-iterator/count)
[![Dev dependencies](https://img.shields.io/david/dev/iterable-iterator/count.svg)](https://david-dm.org/iterable-iterator/count?type=dev)
[![GitHub issues](https://img.shields.io/github/issues/iterable-iterator/count.svg)](https://github.com/iterable-iterator/count/issues)
[![Downloads](https://img.shields.io/npm/dm/@iterable-iterator/count.svg)](https://www.npmjs.org/package/@iterable-iterator/count)

[![Code issues](https://img.shields.io/codeclimate/issues/iterable-iterator/count.svg)](https://codeclimate.com/github/iterable-iterator/count/issues)
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/iterable-iterator/count.svg)](https://codeclimate.com/github/iterable-iterator/count/trends/churn)
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/iterable-iterator/count/main.svg)](https://codecov.io/gh/iterable-iterator/count)
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/iterable-iterator/count.svg)](https://codeclimate.com/github/iterable-iterator/count/trends/technical_debt)
[![Documentation](https://iterable-iterator.github.io/count/badge.svg)](https://iterable-iterator.github.io/count/source.html)
[![Package size](https://img.shields.io/bundlephobia/minzip/@iterable-iterator/count)](https://bundlephobia.com/result?p=@iterable-iterator/count)

---
_Source: https://npm.io/package/@iterable-iterator/count · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
