kevin tessier 5eedee288e install npm 5 years ago
..
test 5eedee288e install npm 5 years ago
.npmignore 5eedee288e install npm 5 years ago
.travis.yml 5eedee288e install npm 5 years ago
LICENSE 5eedee288e install npm 5 years ago
README.md 5eedee288e install npm 5 years ago
index.js 5eedee288e install npm 5 years ago
package.json 5eedee288e install npm 5 years ago

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