collection-abstraction/set

View on GitHub
README.md

Summary

Maintainability
Test Coverage
:abcd:
[@collection-abstraction/set](https://collection-abstraction.github.io/set)
==

Python's set data structure for JavaScript.
See [docs](https://collection-abstraction.github.io/set/index.html).
Parent is
[js-data-structures](https://github.com/make-github-pseudonymous-again/js-data-structures).

> :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
set('abc').issubset( 'abcd' ) ; // true
```

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

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