Hacker News new | ask | show | jobs
by wonderlg 2136 days ago
There’s an obvious solution to this:

    require('clamp')(num, min, max)
1 million monthly downloads