resolve-opts.js
function normalizeOptsKey(aval, basedir, pkg) {

    aval = aval || [];

    if (!u.isArray(aval)) {
      aval = [ aval ];
    }

    return u.map(u.compact(aval), function(val) {
      return normalize(val, basedir, pkg);
    });

  }
function normalizeOptsKey(aval, basedir, pkg) {

    aval = aval || [];

    if (!u.isArray(aval)) {
      aval = [ aval ];
    }

    return u.map(u.compact(aval), function(val) {
      return normalize(val, basedir, pkg);
    });

  }
function normalizeOptsKey ( aval , basedir , pkg ) { aval = aval || [ ] ; if ( ! u . isArray ( aval ) ) { aval = [ aval ] ; } return u . map ( u . compact ( aval ) , function ( val ) { return normalize ( val , basedir , pkg ) ; } ) ; }
normalize a single opts key
normalize a single opts key