lib/map.js
function normalize(opts) {
	if (typeof opts === 'string') {
		opts = {path: opts};
	}
	opts.path = path.resolve(opts.path);
	return opts;
}
function normalize(opts) {
	if (typeof opts === 'string') {
		opts = {path: opts};
	}
	opts.path = path.resolve(opts.path);
	return opts;
}
function normalize ( opts ) { if ( typeof opts === 'string' ) { opts = { path : opts } ; } opts . path = path . resolve ( opts . path ) ; return opts ; }
Function for normalizing input
@param opts
@returns {*}
Function for normalizing input