README.md
:v: [@iterable-iterator/cardinality](https://iterable-iterator.github.io/cardinality)
==
Iterable cardinality library for JavaScript.
Inspired by [this Python library](https://github.com/wbolster/cardinality).
Parent is [js-library](https://github.com/make-github-pseudonymous-again/js-library).
```js
cardinality.count( "abc"[Symbol.iterator]( ) ) ; // 3
```
[![License](https://img.shields.io/github/license/iterable-iterator/cardinality.svg)](https://raw.githubusercontent.com/iterable-iterator/cardinality/main/LICENSE)
[![Version](https://img.shields.io/npm/v/@iterable-iterator/cardinality.svg)](https://www.npmjs.org/package/@iterable-iterator/cardinality)
[![Tests](https://img.shields.io/github/actions/workflow/status/iterable-iterator/cardinality/ci.yml?branch=main&event=push&label=tests)](https://github.com/iterable-iterator/cardinality/actions/workflows/ci.yml?query=branch:main)
[![Dependencies](https://img.shields.io/librariesio/github/iterable-iterator/cardinality.svg)](https://github.com/iterable-iterator/cardinality/network/dependencies)
[![GitHub issues](https://img.shields.io/github/issues/iterable-iterator/cardinality.svg)](https://github.com/iterable-iterator/cardinality/issues)
[![Downloads](https://img.shields.io/npm/dm/@iterable-iterator/cardinality.svg)](https://www.npmjs.org/package/@iterable-iterator/cardinality)
[![Code issues](https://img.shields.io/codeclimate/issues/iterable-iterator/cardinality.svg)](https://codeclimate.com/github/iterable-iterator/cardinality/issues)
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/iterable-iterator/cardinality.svg)](https://codeclimate.com/github/iterable-iterator/cardinality/trends/churn)
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/iterable-iterator/cardinality/main.svg)](https://codecov.io/gh/iterable-iterator/cardinality)
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/iterable-iterator/cardinality.svg)](https://codeclimate.com/github/iterable-iterator/cardinality/trends/technical_debt)
[![Documentation](https://iterable-iterator.github.io/cardinality/badge.svg)](https://iterable-iterator.github.io/cardinality/source.html)
[![Package size](https://img.shields.io/bundlephobia/minzip/@iterable-iterator/cardinality)](https://bundlephobia.com/result?p=@iterable-iterator/cardinality)