function incrementNumber(value, increment = 1) {
    const version = Number.parseInt(value);
    if (Number.isNaN(version)) {
        throw new TypeError(
            `Expected an integer version number, received [${value}]`
        );
    }

    increment = Number.parseInt(increment);
    if (Number.isNaN(increment)) {
        throw new TypeError(
            'Expected an integer increment number'
        );
    }

    return (version + increment);
}
Increments the given integer.

@param  {string|int} value         - The number to increment.
@param  {string|int} [increment=1] - The amount to increment by.
@return {int}
@throws TypeError If the version number is invalid.