There’s an obvious solution to this:
require('clamp')(num, min, max)
1 million monthly downloads require('clamp')(num, min, max)
1 million monthly downloadsNo comments yet.