var deck = require('deck'); var x = deck.pick({ a : 10, b : 8, c : 2, d : 1, e : 1, }); console.log(x);