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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    6
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    6
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i relationset

Weekly Downloads

8

Version

0.0.3

License

MIT

Unpacked Size

77.7 kB

Total Files

104

Last publish

Collaborators

  • joonhocho