Bachir Soussi Chiadmi cefd1c2ad0 updated sys and created publi 7 سال پیش
..
test 0611418f7a added whole system from ola4doc 7 سال پیش
.npmignore 0611418f7a added whole system from ola4doc 7 سال پیش
.travis.yml 0611418f7a added whole system from ola4doc 7 سال پیش
LICENSE 0611418f7a added whole system from ola4doc 7 سال پیش
README.md 0611418f7a added whole system from ola4doc 7 سال پیش
index.js 0611418f7a added whole system from ola4doc 7 سال پیش
package.json cefd1c2ad0 updated sys and created publi 7 سال پیش

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