index.js
function(name, transformations) {
        var synonyms = [];
        if (typeof name === 'string' && name) {
            transformations = transformations || this.transformations;
            if (!Array.isArray(transformations)) {
                transformations = Object.keys(transformations);
            }
            transformations.forEach(function(key) {
                if (typeof transformers[key] !== 'function') {
                    throw new ReferenceError('Unknown transformer "' + key + '"');
                }
                var synonym = transformers[key](name);
                if (synonym !== '' && !(synonym in synonyms)) {
                    synonyms.push(synonym);
                }
            });
        }
        return synonyms;
    }
function(name, transformations) {
        var synonyms = [];
        if (typeof name === 'string' && name) {
            transformations = transformations || this.transformations;
            if (!Array.isArray(transformations)) {
                transformations = Object.keys(transformations);
            }
            transformations.forEach(function(key) {
                if (typeof transformers[key] !== 'function') {
                    throw new ReferenceError('Unknown transformer "' + key + '"');
                }
                var synonym = transformers[key](name);
                if (synonym !== '' && !(synonym in synonyms)) {
                    synonyms.push(synonym);
                }
            });
        }
        return synonyms;
    }
function ( name , transformations ) { var synonyms = [ ] ; if ( typeof name === 'string' && name ) { transformations = transformations || this . transformations ; if ( ! Array . isArray ( transformations ) ) { transformations = Object . keys ( transformations ) ; } transformations . forEach ( function ( key ) { if ( typeof transformers [ key ] !== 'function' ) { throw new ReferenceError ( 'Unknown transformer "' + key + '"' ) ; } var synonym = transformers [ key ] ( name ) ; if ( synonym !== '' && ! ( synonym in synonyms ) ) { synonyms . push ( synonym ) ; } } ) ; } return synonyms ; }
default for all instances, settable by Synonomous.prototype.dictPath setter 
If `name` is a string and non-blank, returns an array containing unique non-blank synonyms of `name` generated by the transformer functions named in `this.transformations`.
@param {string} name - String to make synonyms of.
@parma {string[]|object} transformations - When provided, temporarily overrides `this.transformations`.
@memberOf Synonomous#
default for all instances settable by Synonomous . prototype . dictPath setter If name is a string and non - blank returns an array containing unique non - blank synonyms of name generated by the transformer functions named in this . transformations .