relationset
TypeScript icon, indicating that this package has built-in type declarations

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

/relationset/

    Package Sidebar

    Install

    npm i relationset

    Weekly Downloads

    9

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    77.7 kB

    Total Files

    104

    Last publish

    Collaborators

    • joonhocho