{"_id":"replace-ext","_rev":"49792","name":"replace-ext","description":"Replaces a file extension with another one.","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"time":{"modified":"2021-06-03T10:15:15.000Z","created":"2014-02-25T21:34:14.210Z","2.0.0":"2020-05-04T01:07:42.619Z","1.0.1":"2020-05-03T23:09:08.825Z","1.0.0":"2016-08-16T02:58:47.596Z","0.0.1":"2014-02-25T21:34:14.210Z"},"users":{"ubi":true,"pandao":true,"chharvey":true,"mojaray2k":true,"leowoods":true,"yedaodao":true,"nkpfstr":true,"monjer":true,"alexreg90":true,"alexreg":true,"seangenabe":true,"drewigg":true},"author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"repository":{"type":"git","url":"git+https://github.com/gulpjs/replace-ext.git"},"versions":{"2.0.0":{"name":"replace-ext","version":"2.0.0","description":"Replaces a file extension with another one.","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"contributors":[{"name":"Eric Schoffstall","email":"yo@contra.io"},{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/replace-ext.git"},"license":"MIT","engines":{"node":">= 10"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"nyc mocha --async-only"},"devDependencies":{"eslint":"^6.8.0","eslint-config-gulp":"^4.0.0","expect":"^25.4.0","mocha":"^7.1.2","nyc":"^15.0.1"},"nyc":{"reporter":["lcov","text-summary"]},"prettier":{"singleQuote":true},"keywords":["gulp","extensions","filepath","basename"],"gitHead":"1638b870b68ee6fe781be03bd29fbf5487b83236","bugs":{"url":"https://github.com/gulpjs/replace-ext/issues"},"homepage":"https://github.com/gulpjs/replace-ext#readme","_id":"replace-ext@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"dist":{"shasum":"9471c213d22e1bcc26717cd6e50881d88f812b06","size":2460,"noattachment":false,"key":"/replace-ext/-/replace-ext-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/replace-ext/download/replace-ext-2.0.0.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/replace-ext_2.0.0_1588554462482_0.8822483411419739"},"_hasShrinkwrap":false,"publish_time":1588554462619,"_cnpm_publish_time":1588554462619},"1.0.1":{"name":"replace-ext","version":"1.0.1","description":"Replaces a file extension with another one","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"contributors":[{"name":"Eric Schoffstall","email":"yo@contra.io"},{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/replace-ext.git"},"license":"MIT","engines":{"node":">= 0.10"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"nyc mocha --async-only","cover":"nyc --reporter=lcov --reporter=text-summary npm test","azure-pipelines":"nyc mocha --async-only --reporter xunit -O output=test.xunit","coveralls":"nyc report --reporter=text-lcov | coveralls"},"dependencies":{},"devDependencies":{"coveralls":"github:phated/node-coveralls#2.x","eslint":"^2.13.1","eslint-config-gulp":"^3.0.1","expect":"^1.20.2","mocha":"^3.0.0","nyc":"^10.3.2"},"keywords":["gulp","extensions","filepath","basename"],"gitHead":"2c67dddcc4d96416ad3916e542a43615c441a91c","bugs":{"url":"https://github.com/gulpjs/replace-ext/issues"},"homepage":"https://github.com/gulpjs/replace-ext#readme","_id":"replace-ext@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"dist":{"shasum":"2d6d996d04a15855d967443631dd5f77825b016a","size":2631,"noattachment":false,"key":"/replace-ext/-/replace-ext-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/replace-ext/download/replace-ext-1.0.1.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/replace-ext_1.0.1_1588547348673_0.06158409831757061"},"_hasShrinkwrap":false,"publish_time":1588547348825,"_cnpm_publish_time":1588547348825},"1.0.0":{"name":"replace-ext","version":"1.0.0","description":"Replaces a file extension with another one","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"http://gulpjs.com/"},"contributors":[{"name":"Eric Schoffstall","email":"yo@contra.io"},{"name":"Blaine Bublitz","email":"blaine.bublitz@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/gulpjs/replace-ext.git"},"license":"MIT","engines":{"node":">= 0.10"},"main":"index.js","files":["LICENSE","index.js"],"scripts":{"lint":"eslint . && jscs index.js test/","pretest":"npm run lint","test":"mocha --async-only","cover":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly","coveralls":"npm run cover && istanbul-coveralls"},"dependencies":{},"devDependencies":{"eslint":"^1.10.3","eslint-config-gulp":"^2.0.0","expect":"^1.16.0","istanbul":"^0.4.3","istanbul-coveralls":"^1.0.3","jscs":"^2.3.5","jscs-preset-gulp":"^1.0.0","mocha":"^2.4.5"},"keywords":["gulp","extensions","filepath","basename"],"gitHead":"adaec75e316f1c375dc7a2cb51c7b762b135cc0e","bugs":{"url":"https://github.com/gulpjs/replace-ext/issues"},"homepage":"https://github.com/gulpjs/replace-ext#readme","_id":"replace-ext@1.0.0","_shasum":"de63128373fcbf7c3ccfa4de5a480c45a67958eb","_from":".","_npmVersion":"2.15.2","_nodeVersion":"0.10.41","_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"dist":{"shasum":"de63128373fcbf7c3ccfa4de5a480c45a67958eb","size":2120,"noattachment":false,"key":"/replace-ext/-/replace-ext-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/replace-ext/download/replace-ext-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/replace-ext-1.0.0.tgz_1471316327349_0.09214890468865633"},"directories":{},"publish_time":1471316327596,"_cnpm_publish_time":1471316327596,"_hasShrinkwrap":false},"0.0.1":{"name":"replace-ext","description":"Replaces a file extension with another one","version":"0.0.1","homepage":"http://github.com/wearefractal/replace-ext","repository":{"type":"git","url":"git://github.com/wearefractal/replace-ext.git"},"author":{"name":"Fractal","email":"contact@wearefractal.com","url":"http://wearefractal.com/"},"main":"./index.js","dependencies":{},"devDependencies":{"mocha":"~1.17.0","should":"~3.1.0","mocha-lcov-reporter":"~0.0.1","coveralls":"~2.6.1","istanbul":"~0.2.3","rimraf":"~2.2.5","jshint":"~2.4.1"},"scripts":{"test":"mocha --reporter spec && jshint","coveralls":"istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"},"engines":{"node":">= 0.4"},"licenses":[{"type":"MIT","url":"http://github.com/wearefractal/replace-ext/raw/master/LICENSE"}],"bugs":{"url":"https://github.com/wearefractal/replace-ext/issues"},"_id":"replace-ext@0.0.1","dist":{"shasum":"29bbd92078a739f0bcce2b4ee41e837953522924","size":2238,"noattachment":false,"key":"/replace-ext/-/replace-ext-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/replace-ext/download/replace-ext-0.0.1.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"fractal","email":"contact@wearefractal.com"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"directories":{},"publish_time":1393364054210,"_hasShrinkwrap":false,"_cnpm_publish_time":1393364054210}},"readme":"<p align=\"center\">\n  <a href=\"http://gulpjs.com\">\n    <img height=\"257\" width=\"114\" src=\"https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png\">\n  </a>\n</p>\n\n# replace-ext\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]\n\nReplaces a file extension with another one.\n\n## Usage\n\n```js\nvar replaceExt = require('replace-ext');\n\nvar path = '/some/dir/file.js';\nvar newPath = replaceExt(path, '.coffee');\n\nconsole.log(newPath); // /some/dir/file.coffee\n```\n\n## API\n\n### `replaceExt(path, extension)`\n\nReplaces the extension from `path` with `extension` and returns the updated path string.\n\nDoes not replace the extension if `path` is not a string or is empty.\n\n## `replace-ext` for enterprise\n\nAvailable as part of the Tidelift Subscription.\n\nThe maintainers of `replace-ext` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.][tidelift-url]\n\n## License\n\nMIT\n\n<!-- prettier-ignore-start -->\n[downloads-image]: https://img.shields.io/npm/dm/replace-ext.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/replace-ext\n[npm-image]: https://img.shields.io/npm/v/replace-ext.svg?style=flat-square\n\n[ci-url]: https://github.com/gulpjs/replace-ext/actions?query=workflow:dev\n[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/replace-ext/dev?style=flat-square\n\n[coveralls-url]: https://coveralls.io/r/gulpjs/replace-ext\n[coveralls-image]: https://img.shields.io/coveralls/gulpjs/replace-ext/master.svg?style=flat-square\n\n[tidelift-url]: https://tidelift.com/subscription/pkg/npm-replace-ext?utm_source=npm-replace-ext&utm_medium=referral&utm_campaign=enterprise&utm_term=repo\n<!-- prettier-ignore-end -->\n","_attachments":{},"homepage":"https://github.com/gulpjs/replace-ext#readme","bugs":{"url":"https://github.com/gulpjs/replace-ext/issues"},"license":"MIT"}