htc 7ca38fdcbb 善行少年PC端首次提交(基础版) il y a 1 an
..
test 7ca38fdcbb 善行少年PC端首次提交(基础版) il y a 1 an
.npmignore 7ca38fdcbb 善行少年PC端首次提交(基础版) il y a 1 an
.travis.yml 7ca38fdcbb 善行少年PC端首次提交(基础版) il y a 1 an
LICENSE 7ca38fdcbb 善行少年PC端首次提交(基础版) il y a 1 an
README.md 7ca38fdcbb 善行少年PC端首次提交(基础版) il y a 1 an
index.js 7ca38fdcbb 善行少年PC端首次提交(基础版) il y a 1 an
package.json 7ca38fdcbb 善行少年PC端首次提交(基础版) il y a 1 an

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