A node.js library for creating conditional permutations