index.js
function(replace, count, callback) {
    return pathmap.replace(
      pathmap.chomp(this, pathmap.extname(this)), replace, callback);
  }
function(replace, count, callback) {
    return pathmap.replace(
      pathmap.chomp(this, pathmap.extname(this)), replace, callback);
  }
function ( replace , count , callback ) { return pathmap . replace ( pathmap . chomp ( this , pathmap . extname ( this ) ) , replace , callback ) ; }
Everything but the file extension.
Everything but the file extension .