@jswork/next-filepath-mv
v1.0.0
Published
Filepath rename for next.
Downloads
3
Maintainers
Readme
next-filepath-mv
Filepath rename for next.
installation
npm install -S @jswork/next-filepath-mv
usage
import '@jswork/next-filepath-mv';
//DOCS here!
nx.filepathMv('/var/lib/nginx/tmp/test.txt',(obj)=>{
obj.prefix = 'pre_';
obj.suffix = '_suf';
obj.name = 'test123';
return obj;
});
// /var/lib/nginx/tmp/pre_test123_suf.txt
license
Code released under the MIT license.