array-to Convert Value to Array. var to = require('array-to');// to(<value>) var a = new Set().add('Namby').add('Pamby').add('Magicians'); to(a);// ["Namby", "Pamby", "Magicians"] to(['n', 'p', 'm']);// ["n", "p", "m"] (same array) to('Magicians');// ["Magicians"] to(null);// [null]