permutation-swaps (npm): Generate the sequence of swaps to produce all permutations of a set
Keywords: set|permutations|heap|combinatorics|math