Limit a number between a min and max value.
npm install limit-number
const limit = require('limit-number')
limit(0, 10, 5) // 5
limit(0, 10, 15) // 10
limit(0, 10, -5) // 0
min
{Number}
Min number.max
{Number}
Max number.num
{Number}
Number.
{Number}
Limited number.