{"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"keywords":["modify","change","replace","filename","file","name","path"],"dist-tags":{"latest":"1.1.0"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"description":"Modify the filename in a path","readme":"# modify-filename [![Build Status](https://travis-ci.org/sindresorhus/modify-filename.svg?branch=master)](https://travis-ci.org/sindresorhus/modify-filename)\n\n> Modify the filename in a path\n\n\n## Install\n\n```\n$ npm install --save modify-filename\n```\n\n\n## Usage\n\n```js\nvar modifyFilename = require('modify-filename');\n\nmodifyFilename('src/unicorn.png', function (filename, extension) {\n\treturn filename + '-rainbow' + extension;\n});\n//=> 'src/unicorn-rainbow.png'\n\nmodifyFilename(['src/unicorn.png', 'src/pony.png'], function (filename, extension) {\n\treturn filename + '-rainbow' + extension;\n});\n//=> ['src/unicorn-rainbow.png', 'src/pony-rainbow.png']\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n","repository":{"type":"git","url":"https://github.com/sindresorhus/modify-filename"},"users":{"a3.ivanenko":true,"rocket0191":true},"bugs":{"url":"https://github.com/sindresorhus/modify-filename/issues"},"license":"MIT","versions":{"1.0.0":{"name":"modify-filename","version":"1.0.0","description":"Modify the filename in a path","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/modify-filename"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["modify","change","replace","filename","file","name","path"],"devDependencies":{"ava":"0.0.4"},"gitHead":"5005b2abce3c9482287863bb4fb6b832de877ba3","bugs":{"url":"https://github.com/sindresorhus/modify-filename/issues"},"homepage":"https://github.com/sindresorhus/modify-filename","_id":"modify-filename@1.0.0","_shasum":"a4a8a84c1a8dbea3cae98f17f596b4eba2c9017e","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"a4a8a84c1a8dbea3cae98f17f596b4eba2c9017e","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/modify-filename/-/modify-filename-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"1.1.0":{"name":"modify-filename","version":"1.1.0","description":"Modify the filename in a path","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/modify-filename"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["modify","change","replace","filename","file","name","path"],"devDependencies":{"ava":"0.0.4"},"gitHead":"d672c2faf0dd26991cd679953347b063c3e3dd7a","bugs":{"url":"https://github.com/sindresorhus/modify-filename/issues"},"homepage":"https://github.com/sindresorhus/modify-filename","_id":"modify-filename@1.1.0","_shasum":"9a2dec83806fbb2d975f22beec859ca26b393aa1","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"9a2dec83806fbb2d975f22beec859ca26b393aa1","tarball":"http://nexus.dui88.com:8081/nexus/content/repositories/npm-registry/modify-filename/-/modify-filename-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}}},"name":"modify-filename","time":{"modified":"2017-03-05T11:47:26.713Z","created":"2015-05-22T20:40:58.838Z","1.0.0":"2015-05-22T20:40:58.838Z","1.1.0":"2015-06-27T00:24:34.906Z"},"readmeFilename":"readme.md","homepage":"https://github.com/sindresorhus/modify-filename"}