Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iterable-iterator/cardinality
:v: Iterable cardinality library for JavaScript
https://github.com/iterable-iterator/cardinality
agpl arrays counting iterables iterators javascript
Last synced: about 1 month ago
JSON representation
:v: Iterable cardinality library for JavaScript
- Host: GitHub
- URL: https://github.com/iterable-iterator/cardinality
- Owner: iterable-iterator
- License: agpl-3.0
- Created: 2015-08-10T16:07:20.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-09-29T18:15:35.000Z (3 months ago)
- Last Synced: 2024-10-02T09:06:24.418Z (3 months ago)
- Topics: agpl, arrays, counting, iterables, iterators, javascript
- Language: JavaScript
- Homepage: https://iterable-iterator.github.io/cardinality
- Size: 2.51 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
: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)