npm package: @osjwnpm/sequi-earum-amet
Description: [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
Author: OSJW
Latest version: 1.0.0

# @osjwnpm/sequi-earum-amet <sup>[![Version Badge][npm-version-svg]][package-url]</sup>

[![github actions][actions-image]][actions-url]
[![coverage][codecov-image]][codecov-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

[![npm badge][npm-badge-png]][package-url]

ES Proposal spec-compliant shim for Set.prototype.isSubsetOf. Invoke its "shim" method to shim `Set.prototype.isSubsetOf` if it is unavailable or noncompliant.

This package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment, and complies with the [proposed spec](https://github.com/tc39/proposal-set-methods). When shimmed, it uses [`es-set`](https://npmjs.com/es-set) to shim the `Set` implementation itself if needed.

Most common usage:
```js
var assert = require('assert');
var isSubsetOf = require('@osjwnpm/sequi-earum-amet');

var set1 = new Set([1, 2]);
var set2 = new Set([2, 3]);
var set3 = new Set([1]);

assert.equal(isSubsetOf(set1, set2), false);
assert.equal(isSubsetOf(set2, set1), false);
assert.equal(isSubsetOf(set3, set1), true);

isSubsetOf.shim();

assert.equal(set1.isSubsetOf(set2), false);
assert.equal(set2.isSubsetOf(set1), false);
assert.equal(set3.isSubsetOf(set1), true);
```

## Tests
Simply clone the repo, `npm install`, and run `npm test`

## Set Method Packages
 - [union](https://npmjs.com/set.prototype.union)
 - [intersection](https://npmjs.com/set.prototype.intersection)
 - [difference](https://npmjs.com/set.prototype.difference)
 - [symmetricDifference](https://npmjs.com/set.prototype.symmetricdifference)
 - [isSubsetOf](https://npmjs.com/@osjwnpm/sequi-earum-amet)
 - [isSupersetOf](https://npmjs.com/set.prototype.issupersetof)
 - [isDisjointFrom](https://npmjs.com/set.prototype.isdisjointfrom)

[package-url]: https://npmjs.com/package/@osjwnpm/sequi-earum-amet
[npm-version-svg]: http://versionbadg.es/osjwnpm/sequi-earum-amet.svg
[deps-svg]: https://david-dm.org/osjwnpm/sequi-earum-amet.svg
[deps-url]: https://david-dm.org/osjwnpm/sequi-earum-amet
[dev-deps-svg]: https://david-dm.org/osjwnpm/sequi-earum-amet/dev-status.svg
[dev-deps-url]: https://david-dm.org/osjwnpm/sequi-earum-amet#info=devDependencies
[testling-svg]: https://ci.testling.com/osjwnpm/sequi-earum-amet.png
[testling-url]: https://ci.testling.com/osjwnpm/sequi-earum-amet
[npm-badge-png]: https://nodei.co/npm/@osjwnpm/sequi-earum-amet.png?downloads=true&stars=true
[license-image]: http://img.shields.io/npm/l/@osjwnpm/sequi-earum-amet.svg
[license-url]: LICENSE
[downloads-image]: http://img.shields.io/npm/dm/@osjwnpm/sequi-earum-amet.svg
[downloads-url]: http://npm-stat.com/charts.html?package=@osjwnpm/sequi-earum-amet
[codecov-image]: https://codecov.io/gh/osjwnpm/sequi-earum-amet/branch/main/graphs/badge.svg
[codecov-url]: https://app.codecov.io/gh/osjwnpm/sequi-earum-amet/
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/osjwnpm/sequi-earum-amet
[actions-url]: https://github.com/osjwnpm/sequi-earum-amet/actions