{"maintainers":[{"name":"hparra","email":"hector@hectorparra.com"},{"name":"contra","email":"contra@wearefractal.com"},{"name":"shinnn","email":"snnskwtnb@gmail.com"},{"name":"fractal","email":"contact@wearefractal.com"}],"keywords":["gulpplugin"],"dist-tags":{"latest":"1.2.2"},"author":{"name":"Hector Guillermo Parra Alvarez","email":"hector@hectorparra.com","url":"https://github.com/hparra"},"description":"Rename files","readme":"# gulp-rename\n\ngulp-rename is a [gulp](https://github.com/wearefractal/gulp) plugin to rename files easily.\n\n[![NPM](https://nodei.co/npm/gulp-rename.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/gulp-rename/)\n\n[![build status](https://secure.travis-ci.org/hparra/gulp-rename.svg)](http://travis-ci.org/hparra/gulp-rename)\n[![devDependency Status](https://david-dm.org/hparra/gulp-rename/dev-status.svg)](https://david-dm.org/hparra/gulp-rename#info=devDependencies)\n\n## Usage\n\ngulp-rename provides simple file renaming methods.\n\n```javascript\nvar rename = require(\"gulp-rename\");\n\n// rename via string\ngulp.src(\"./src/main/text/hello.txt\")\n  .pipe(rename(\"main/text/ciao/goodbye.md\"))\n  .pipe(gulp.dest(\"./dist\")); // ./dist/main/text/ciao/goodbye.md\n\n// rename via function\ngulp.src(\"./src/**/hello.txt\")\n  .pipe(rename(function (path) {\n    path.dirname += \"/ciao\";\n    path.basename += \"-goodbye\";\n    path.extname = \".md\"\n  }))\n  .pipe(gulp.dest(\"./dist\")); // ./dist/main/text/ciao/hello-goodbye.md\n\n// rename via hash\ngulp.src(\"./src/main/text/hello.txt\", { base: process.cwd() })\n  .pipe(rename({\n    dirname: \"main/text/ciao\",\n    basename: \"aloha\",\n    prefix: \"bonjour-\",\n    suffix: \"-hola\",\n    extname: \".md\"\n  }))\n  .pipe(gulp.dest(\"./dist\")); // ./dist/main/text/ciao/bonjour-aloha-hola.md\n```\n\n**See test/rename.spec.js for more examples and test/path-parsing.spec.js for hairy details.**\n\n## Notes\n\n* `dirname` is the relative path from the base directory set by `gulp.src` to the filename.\n  * `gulp.src()` uses glob-stream which sets the base to the parent of the first directory glob (`*`, `**`, [], or extglob). `dirname` is the remaining directories or `./` if none. glob-stream versions >= 3.1.0 (used by gulp >= 3.2.2) accept a `base` option, which can be used to explicitly set the base.\n  * `gulp.dest()` renames the directories between `process.cwd()` and `dirname` (i.e. the base relative to CWD). Use `dirname` to rename the directories matched by the glob or descendents of the base of option.\n* `basename` is the filename without the extension like path.basename(filename, path.extname(filename)).\n* `extname` is the file extension including the '.' like path.extname(filename).\n\n## License\n\n[MIT License](http://en.wikipedia.org/wiki/MIT_License)\n","repository":{"type":"git","url":"git://github.com/hparra/gulp-rename.git"},"users":{"examinedliving":true,"brbcoding":true,"zibe":true,"evanportwood":true,"rrbiten":true,"furier":true,"utwo":true,"apfelbox":true,"joreyaesh":true,"csbun":true,"t1st3":true,"arturmuller":true,"geertdd":true,"abg":true,"andrewconnell":true,"mlm":true,"unclesowise":true,"havvy":true,"johnherohd":true,"aleesley":true,"zhangyaochun":true,"pensierinmusica":true,"levisl176":true,"stooboo":true,"jordietyahii":true,"h4des":true,"awzm":true,"ericwbailey":true,"bnu":true,"princemaple":true,"zoxon":true,"majorbarberry":true,"pythondave":true,"kulakowka":true,"briancrumley":true,"wfsm":true,"enuobear":true,"joaocunha":true,"andamira":true,"brecht":true,"jerkovicl":true,"riszw":true,"borjes":true,"incendiary":true,"darg":true,"jdhartley":true,"arahnoid":true,"itonyyo":true,"anderpo":true,"chrisdeaton":true,"holyzfy":true,"ebaranov":true,"ginof":true,"damocles":true,"n370":true,"mpcjazz":true,"evanj0hnson":true,"ghsamm":true,"mrahmadawais":true,"moimikey":true,"wangnan0610":true,"robermac":true,"mahmoud":true,"sahilsk":true,"kai_":true,"landen":true,"beefchimi":true,"tylersclark":true,"tmaciej":true,"guiambros":true,"jyounce":true,"alemohamad":true,"hbin000":true,"tzsiga":true,"blakecscott":true,"dennykuo":true,"npmmax":true,"jovib":true,"duzun":true,"jhardin293":true,"brandonb927":true,"ilkanimal":true,"thatk":true,"shaneparsons":true,"temoto-kun":true,"amaynut":true,"alexchao":true,"markthethomas":true,"talkingbibles":true,"olliesk8":true,"preflight":true,"johnym":true,"nice_body":true,"montyanderson":true,"keelvin":true,"monkeykode":true,"zzl81cn":true,"airani":true,"ifeature":true,"epickris":true,"lesthertod":true,"aesinv":true,"nickpfisterer":true,"edloidas":true,"claudiomaxx":true,"pixel-industry":true,"stephn_r":true,"dskecse":true,"bob.cody":true,"robsoer":true,"flynntsc":true,"yhui02":true,"sappharx":true,"boterom89":true,"arthurvasconcelos":true,"lluvio":true,"iolo":true,"davidhellmann":true,"imagion":true,"crazyjingling":true,"jonathan.soifer":true,"neefrankie":true,"ubi":true,"elussich":true,"mikedeleon":true,"russiansoon":true,"gamingcoder":true,"zplus":true,"csharlie":true,"gudvinr":true,"frederoover":true,"mkstix6":true,"irj":true,"fierceferdy":true,"jclo":true,"sadsenpai":true,"klimnikita":true,"brunocalou":true,"kelsen":true,"linkeer8802":true,"fdeneux":true,"sparrow":true,"bebaps":true,"viweei":true,"arttse":true,"boluge":true,"niuca":true,"nikitka_m":true,"cfleschhut":true,"keberox":true,"a3.ivanenko":true,"hany233":true,"samhwang1990":true,"meta-d":true,"gskema":true,"davidazullo":true,"joneszhuchinagd":true,"qwr":true,"porreh":true,"parnick":true,"dbuggerx":true,"crysp":true,"rugoals":true,"kontrax":true,"daam":true,"vrfrnco":true,"dorayx":true,"chancearthur":true,"mattweb":true,"chuot":true,"illuminator":true,"sapronlee":true,"xiaochao":true,"ristostevcev":true,"amirrustam":true,"krawster":true,"gerst20051":true,"zbreakstone":true,"vividyellow4":true,"pennwang":true,"ijunlin":true,"arvinxiang":true,"pruettti":true,"fanus":true,"xenohunter":true,"andrew_palchykovsky":true,"tuomastolppi":true,"peunzhang":true,"sonnh":true,"danielgr":true,"donkapetra":true,"amandavianna":true,"nahuelhds":true,"dpjayasekara":true,"biasso":true,"yanlaichang":true,"happiness_cookie":true,"iprishvin":true,"dennisli87":true,"alche_xie":true,"haihepeng":true,"serifx":true,"shuoshubao":true,"jimzhuangdev":true,"jimco":true,"pico":true,"gmarciani":true,"cilerler":true,"griname":true,"tin-lek":true,"deveroalex":true,"alexdevero":true,"acterce":true,"lumirent":true,"pablo.tavarez":true,"fstgeorge":true,"drewigg":true,"marcobiedermann":true,"quality520":true,"vibesharing":true,"lianhr12":true,"manux":true,"phritolay":true,"vsanjo":true,"iori20091101":true,"nicomf1982":true,"mobeicaoyuan":true,"cognivator":true,"tdmalone":true,"rhinosaurus":true,"fabioew89":true,"dfsantos":true,"alexander.katkov":true,"yokubee":true,"monjer":true,"cygik":true,"otravers":true,"xingtao":true,"kele527":true,"mattms":true,"maxwang":true,"sushiifox":true,"olonam":true,"kiandrajayne":true,"outboundexplorer":true,"louiskenzo":true,"user099":true,"smokinhuzi":true,"rickyrattlesnake":true,"firerishi":true,"jon_shen":true,"puranjayjain":true,"rbecheras":true,"nickolas_sv":true,"saoskia":true,"raschdiaz":true,"ramono":true,"alanerzhao":true,"sensaetions":true,"abdihaikal":true,"sam16":true,"bsara":true,"hafizshehbazali":true,"mtsplinter":true,"leks":true,"frankl83":true,"wvlvik":true,"ungurys":true,"yikuo":true,"junos":true,"xx1196":true,"olliejt":true,"scassady":true,"daniel_kroon":true,"zacharyjbaldwin":true,"jlopvi":true,"giuseppe.morelli":true,"benigro":true},"bugs":{"url":"https://github.com/hparra/gulp-rename/issues"},"versions":{"0.1.0":{"name":"gulp-rename","version":"0.1.0","description":"Rename files","keywords":["gulpplugin"],"homepage":"https://github.com/hparra/gulp-rename","bugs":"https://github.com/hparra/gulp-rename/issues","author":{"name":"Hector Guillermo Parra Alvarez","email":"hector@hectorparra.com","url":"https://github.com/hparra"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/hparra/gulp-rename.git"},"scripts":{"test":"mocha"},"dependencies":{"event-stream":"*"},"devDependencies":{"mocha":"~1.14.0","should":"~2.1.0","gulp":"~2.6.1","gulp-jshint":"~1.1.0"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-rename@0.1.0","dist":{"shasum":"15ac9f7c5bc770aff0c805cadd326876fff4c680","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/gulp-rename/-/gulp-rename-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hparra","email":"hector@hectorparra.com"},"maintainers":[{"name":"hparra","email":"hector@hectorparra.com"}],"directories":{}},"0.2.1":{"name":"gulp-rename","version":"0.2.1","description":"Rename files","keywords":["gulpplugin"],"homepage":"https://github.com/hparra/gulp-rename","bugs":"https://github.com/hparra/gulp-rename/issues","author":{"name":"Hector Guillermo Parra Alvarez","email":"hector@hectorparra.com","url":"https://github.com/hparra"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/hparra/gulp-rename.git"},"scripts":{"test":"mocha"},"dependencies":{"event-stream":"*"},"devDependencies":{"mocha":"~1.15.0","should":"~2.1.0","gulp":"~3.0.0","gulp-jshint":"~1.1.0"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-rename@0.2.1","dist":{"shasum":"04e3eba9b430af98abfac2ae575381eaed78ef99","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/gulp-rename/-/gulp-rename-0.2.1.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hparra","email":"hector@hectorparra.com"},"maintainers":[{"name":"hparra","email":"hector@hectorparra.com"}],"directories":{}},"0.2.2":{"name":"gulp-rename","version":"0.2.2","description":"Rename files","keywords":["gulpplugin"],"homepage":"https://github.com/hparra/gulp-rename","bugs":"https://github.com/hparra/gulp-rename/issues","author":{"name":"Hector Guillermo Parra Alvarez","email":"hector@hectorparra.com","url":"https://github.com/hparra"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/hparra/gulp-rename.git"},"scripts":{"test":"mocha"},"dependencies":{"map-stream":"~0.0.4"},"devDependencies":{"mocha":"~1.15.0","should":"~2.1.0","gulp":"~3.0.0","gulp-jshint":"~1.1.0"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-rename@0.2.2","dist":{"shasum":"a3aedf2c683b66aaf1d204da89bacad37dd76e17","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/gulp-rename/-/gulp-rename-0.2.2.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hparra","email":"hector@hectorparra.com"},"maintainers":[{"name":"hparra","email":"hector@hectorparra.com"}],"directories":{}},"1.0.0":{"name":"gulp-rename","version":"1.0.0","description":"Rename files","keywords":["gulpplugin"],"homepage":"https://github.com/hparra/gulp-rename","bugs":"https://github.com/hparra/gulp-rename/issues","author":{"name":"Hector Guillermo Parra Alvarez","email":"hector@hectorparra.com","url":"https://github.com/hparra"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/hparra/gulp-rename.git"},"scripts":{"test":"mocha test/*.spec.js"},"dependencies":{"map-stream":">=0.0.4"},"devDependencies":{"mocha":">=1.15.0","should":">=2.1.0","gulp":">=3.0.0","gulp-jshint":">=1.1.0"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-rename@1.0.0","dist":{"shasum":"552c41204e5101764d7a7af436a696a5c275a493","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/gulp-rename/-/gulp-rename-1.0.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hparra","email":"hector@hectorparra.com"},"maintainers":[{"name":"hparra","email":"hector@hectorparra.com"}],"directories":{}},"1.1.0":{"name":"gulp-rename","version":"1.1.0","description":"Rename files","keywords":["gulpplugin"],"homepage":"https://github.com/hparra/gulp-rename","bugs":"https://github.com/hparra/gulp-rename/issues","author":{"name":"Hector Guillermo Parra Alvarez","email":"hector@hectorparra.com","url":"https://github.com/hparra"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/hparra/gulp-rename.git"},"scripts":{"test":"mocha test/*.spec.js"},"dependencies":{"map-stream":">=0.0.4"},"devDependencies":{"mocha":">=1.15.0","should":">=2.1.0","gulp":">=3.0.0","gulp-jshint":">=1.1.0"},"engines":{"node":">=0.8.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-rename@1.1.0","dist":{"shasum":"93090aaaf4d386c07f20538a6888f15efba727a1","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/gulp-rename/-/gulp-rename-1.1.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"hparra","email":"hector@hectorparra.com"},"maintainers":[{"name":"hparra","email":"hector@hectorparra.com"}],"directories":{}},"1.2.0":{"name":"gulp-rename","version":"1.2.0","description":"Rename files","keywords":["gulpplugin"],"homepage":"https://github.com/hparra/gulp-rename","bugs":{"url":"https://github.com/hparra/gulp-rename/issues"},"author":{"name":"Hector Guillermo Parra Alvarez","email":"hector@hectorparra.com","url":"https://github.com/hparra"},"main":"./index.js","repository":{"type":"git","url":"git://github.com/hparra/gulp-rename.git"},"scripts":{"test":"mocha test/*.spec.js"},"devDependencies":{"map-stream":">=0.0.4","mocha":">=1.15.0","should":">=2.1.0","gulp":">=3.0.0","gulp-jshint":">=1.1.0"},"engines":{"node":">=0.10.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"_id":"gulp-rename@1.2.0","dist":{"shasum":"060394a09b085cf5d46fc48acdc5657f8fee9e4e","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/gulp-rename/-/gulp-rename-1.2.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"hparra","email":"hector@hectorparra.com"},"maintainers":[{"name":"hparra","email":"hector@hectorparra.com"}],"directories":{}},"1.2.2":{"name":"gulp-rename","version":"1.2.2","description":"Rename files","keywords":["gulpplugin"],"homepage":"https://github.com/hparra/gulp-rename","bugs":{"url":"https://github.com/hparra/gulp-rename/issues"},"author":{"name":"Hector Guillermo Parra Alvarez","email":"hector@hectorparra.com","url":"https://github.com/hparra"},"main":"./index.js","files":["index.js"],"repository":{"type":"git","url":"git://github.com/hparra/gulp-rename.git"},"scripts":{"pretest":"jshint index.js test/","test":"mocha"},"devDependencies":{"gulp":">=3.0.0","gulp-sourcemaps":"^1.5.0","gulp-util":"^3.0.4","jshint":"^2.6.3","map-stream":">=0.0.4","mocha":">=1.15.0","should":">=2.1.0"},"engines":{"node":">=0.10.0","npm":">=1.2.10"},"licenses":[{"type":"MIT"}],"gitHead":"e1fb4e41dd107b38e96f1156fcbee70ebcf16fb6","_id":"gulp-rename@1.2.2","_shasum":"3ad4428763f05e2764dec1c67d868db275687817","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"fractal","email":"contact@wearefractal.com"},"maintainers":[{"name":"hparra","email":"hector@hectorparra.com"},{"name":"contra","email":"contra@wearefractal.com"},{"name":"shinnn","email":"snnskwtnb@gmail.com"},{"name":"fractal","email":"contact@wearefractal.com"}],"dist":{"shasum":"3ad4428763f05e2764dec1c67d868db275687817","tarball":"http://nexus.dui88.com:8081/nexus/content/groups/npm-all/gulp-rename/-/gulp-rename-1.2.2.tgz"},"directories":{}}},"name":"gulp-rename","time":{"modified":"2017-04-24T21:40:24.675Z","created":"2013-12-04T12:24:43.976Z","0.1.0":"2013-12-04T12:24:45.260Z","0.2.1":"2013-12-08T09:39:40.847Z","0.2.2":"2014-01-15T05:08:37.820Z","1.0.0":"2014-02-07T01:01:59.428Z","1.1.0":"2014-02-17T07:38:23.282Z","1.2.0":"2014-03-06T00:02:46.746Z","1.2.2":"2015-04-02T00:09:38.440Z"},"readmeFilename":"README.md","homepage":"https://github.com/hparra/gulp-rename"}