set-theory/closure

View on GitHub
README.md

Summary

Maintainability
Test Coverage
:mrs_claus: [@set-theory/closure](https://set-theory.github.io/closure)
==

Set closure for JavaScript.
See [docs](https://set-theory.github.io/closure/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 {singletonUnderUnaryOperator} from '@set-theory/closure';
singletonUnderUnaryOperator( x => x + 1 , 0 ) ; // 0 1 2 3 ...
```

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

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