index.js
function anyBase(srcAlphabet, dstAlphabet) {
    var converter = new Converter(srcAlphabet, dstAlphabet);
    /**
     * Convert function
     *
     * @param {string|Array} number
     *
     * @return {string|Array} number
     */
    return function (number) {
        return converter.convert(number);
    }
}
function anyBase(srcAlphabet, dstAlphabet) {
    var converter = new Converter(srcAlphabet, dstAlphabet);
    /**
     * Convert function
     *
     * @param {string|Array} number
     *
     * @return {string|Array} number
     */
    return function (number) {
        return converter.convert(number);
    }
}
function anyBase ( srcAlphabet , dstAlphabet ) { var converter = new Converter ( srcAlphabet , dstAlphabet ) ; /**
     * Convert function
     *
     * @param {string|Array} number
     *
     * @return {string|Array} number
     */ return function ( number ) { return converter . convert ( number ) ; } }
Function get source and destination alphabet and return convert function

@param {string|Array} srcAlphabet
@param {string|Array} dstAlphabet

@returns {function(number|Array)}
Function get source and destination alphabet and return convert function