glob-rename
Rename based on globby.
installation
npm install -S @feizheng/glob-rename
usage
import mv from '@feizheng/glob-rename';
mv.sync(['**/*.js'], 'dist', (path)=>{
path.ext = path.ext.replace('js', 'jsx');
})
license
Code released under the MIT license.