vlad 6f123ff03e 18.07 6 gadi atpakaļ
..
test 6f123ff03e 18.07 6 gadi atpakaļ
.npmignore 6f123ff03e 18.07 6 gadi atpakaļ
.travis.yml 6f123ff03e 18.07 6 gadi atpakaļ
LICENSE 6f123ff03e 18.07 6 gadi atpakaļ
README.md 6f123ff03e 18.07 6 gadi atpakaļ
index.js 6f123ff03e 18.07 6 gadi atpakaļ
package.json 6f123ff03e 18.07 6 gadi atpakaļ

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