rename-path
Return a mapped dest for a src a filepath.
Install
Install with npm:
npm i rename-path --save-dev
Usage
var rename = ;var filepath = 'a/b/c.js'; console;//=> 'a/b/c.min.js' console;//=> 'dist/a/b/c.min.js' console;//=> 'c.min.js'
See the tests for more examples.
Tests
In the command line, run:
mocha
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license
This file was generated by verb-cli on June 28, 2014.