jex-js-combos Get all combinations. import { pairs } from 'jex-js-combos' pairs([1, 2, 3]) /* [ [1, 2], [1, 3], [2, 3], ] */