Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

relationset

0.0.3 • Public • Published

relationset

Compare two sets (array of items) and get relationships between them (Disjoint | Intersecting | Subset | Superset | Equal).

npm version npm npm type definitions Build Status Dependency Status GitHub

Get Started

npm install -D relationset

or

yarn add -D relationset

How to Use

import {
  getRelationOfFiniteSets,
  getRelationOfKeySets,
  getRelationOfSets,
  getRelationOfUnitSetToNonEmptySet,
  haveCommonElements,
  haveCommonKeys,
} from 'relationset';

License

MIT License

Install

npm i relationset

DownloadsWeekly Downloads

3

Version

0.0.3

License

MIT

Unpacked Size

77.7 kB

Total Files

104

Last publish

Collaborators

  • avatar