wallet-core/node_modules/gulp-debug/node_modules/replace-ext
2016-11-03 01:33:53 +01:00
..
test node_modules 2016-11-03 01:33:53 +01:00
.npmignore node_modules 2016-11-03 01:33:53 +01:00
.travis.yml node_modules 2016-11-03 01:33:53 +01:00
index.js node_modules 2016-11-03 01:33:53 +01:00
LICENSE node_modules 2016-11-03 01:33:53 +01:00
package.json node_modules 2016-11-03 01:33:53 +01:00
README.md node_modules 2016-11-03 01:33:53 +01:00

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