3 ms·There’s an obvious solution to this: require('clamp')(num, min, max) 1 million monthly downloadsby wonderlg 6y agoThere’s an obvious solution to this: require('clamp')(num, min, max) 1 million monthly downloads