Bachir Soussi Chiadmi 0611418f7a added whole system from ola4doc il y a 6 ans
..
test 0611418f7a added whole system from ola4doc il y a 6 ans
.npmignore 0611418f7a added whole system from ola4doc il y a 6 ans
.travis.yml 0611418f7a added whole system from ola4doc il y a 6 ans
LICENSE 0611418f7a added whole system from ola4doc il y a 6 ans
README.md 0611418f7a added whole system from ola4doc il y a 6 ans
index.js 0611418f7a added whole system from ola4doc il y a 6 ans
package.json 0611418f7a added whole system from ola4doc il y a 6 ans

README.md

replace-ext NPM version Build Status Coveralls Status Dependency Status

Information

Packagereplace-ext
Description Replaces a file extension with another one
Node Version >= 0.4

Usage

var replaceExt = require('replace-ext');

var path = '/some/dir/file.js';
var npath = replaceExt(path, '.coffee');

console.log(npath); // /some/dir/file.coffee