lib/escort.js
function (args) {
            if (!args) {
                args = {};
            }
            
            var fixedDigits = args.fixedDigits;
            var min = args.min;
            var max = args.max;
            if (min === undefined) {
                min = null;
            }
            if (max === undefined) {
                max = null;
            }
            
            return spawn(IntegerConverter.prototype, {
                _fixedDigits: fixedDigits,
                _min: min,
                _max: max
            });
        }
function (args) {
            if (!args) {
                args = {};
            }
            
            var fixedDigits = args.fixedDigits;
            var min = args.min;
            var max = args.max;
            if (min === undefined) {
                min = null;
            }
            if (max === undefined) {
                max = null;
            }
            
            return spawn(IntegerConverter.prototype, {
                _fixedDigits: fixedDigits,
                _min: min,
                _max: max
            });
        }
function ( args ) { if ( ! args ) { args = { } ; } var fixedDigits = args . fixedDigits ; var min = args . min ; var max = args . max ; if ( min === undefined ) { min = null ; } if ( max === undefined ) { max = null ; } return spawn ( IntegerConverter . prototype , { _fixedDigits : fixedDigits , _min : min , _max : max } ) ; }
A converter that accepts a numeric string.
This does not support negative values.

@example routes.get("/users/{id:int}", function(req, res, params) { })
@example routes.get("/archive/{year:int({fixedDigits: 4})}", function(req, res, params) { })
@example routes.get("/users/{id:int({min: 1})}", function(req, res) { })

@param {Object} args An options Object that can contain "min", "max", and "fixedDigits"
A converter that accepts a numeric string . This does not support negative values .