input-integerbs usage const inputInteger = require('input-integerbs') const opts = {min:0, max:10 } const input = inputInteger(opts) document.body.append(input)