{"_id":"gulp-extname","_rev":"11-a3e24219ac2db410e38a7a1e328cbba5","name":"gulp-extname","description":"gulp plugin to dynamically rewrite dest extensions based on src extensions.","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.0":{"name":"gulp-extname","description":"gulp plugin to dynamically rewrite dest extensions based on src extensions.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/gulp-extname","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/gulp-extname.git"},"bugs":{"url":"https://github.com/jonschlinkert/gulp-extname/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/gulp-extname/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"gulp-util":"^3.0.1","mocha":"*","should":"*"},"keywords":["dest","ext","extensions","extname","file","filename","filepath","fp","fs","gulpfriendly","map","path","src"],"dependencies":{"rewrite-ext":"^0.1.0","through2":"^0.6.3"},"_id":"gulp-extname@0.1.0","_shasum":"0993168a6fc802f5d30560b7fa688aa96a96b8bc","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"0993168a6fc802f5d30560b7fa688aa96a96b8bc","tarball":"https://registry.npmjs.org/gulp-extname/-/gulp-extname-0.1.0.tgz","integrity":"sha512-29GfbSg9Xq/eWYVvoSqDpVpBvaVw5kzmRH2duxRQNV24iU0pFuYdXs4gGyD6Gu0V5AR7UmN5P5Hd5nrn631uMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA6TYSXf1+gqLq0kGpj1WNF5JK8vtwuSp+B02Mcubbw/AiEA+JRtXDvNIPz0Xgz4qxsPRKVgNM75328OSLHZAbIv98w="}]}},"0.1.1":{"name":"gulp-extname","description":"gulp plugin to dynamically rewrite dest extensions based on src extensions.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/gulp-extname","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/gulp-extname.git"},"bugs":{"url":"https://github.com/jonschlinkert/gulp-extname/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/gulp-extname/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"gulp-util":"^3.0.1","mocha":"*","should":"*"},"keywords":["dest","ext","extensions","extname","file","filename","filepath","fp","fs","gulpfriendly","map","path","src"],"dependencies":{"rewrite-ext":"^0.1.0","through2":"^0.6.3"},"_id":"gulp-extname@0.1.1","_shasum":"ec7f8e657aec544c4e1c714593b163349925732c","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"ec7f8e657aec544c4e1c714593b163349925732c","tarball":"https://registry.npmjs.org/gulp-extname/-/gulp-extname-0.1.1.tgz","integrity":"sha512-ainEgOQFgxjJT0CLybnZASRmJ0kag9YnnA/F5Cun8Nc4w2F+eQWBEIkVHtABmsKOOagitgr7YA15pgQROGRPow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtjMYJo3PwhulS3szLngXsNPaex7H6D+t07nRKpI1hkgIhAPAb2bOaaHgp+/b9MBjOLQNkRiJzCKzbuZaLnlqZrolV"}]}},"0.2.0":{"name":"gulp-extname","description":"gulp plugin to dynamically rewrite dest extensions based on src extensions.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/gulp-extname","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/gulp-extname.git"},"bugs":{"url":"https://github.com/jonschlinkert/gulp-extname/issues"},"licenses":{"type":"MIT","url":"https://github.com/jonschlinkert/gulp-extname/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"dependencies":{"rewrite-ext":"^0.1.0","through2":"^0.6.3"},"devDependencies":{"gulp-util":"^3.0.1","mocha":"*","should":"*"},"keywords":["dest","ext","extension","extensions","extname","file","filename","filepath","fp","fs","gulpfriendly","map","name","path","rename","rewrite","src"],"_id":"gulp-extname@0.2.0","_shasum":"3ee72889bf55dff64bacca456b0449aa096aeb27","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"3ee72889bf55dff64bacca456b0449aa096aeb27","tarball":"https://registry.npmjs.org/gulp-extname/-/gulp-extname-0.2.0.tgz","integrity":"sha512-jC2/yWRihZwzDG0ix69vc6iJxrGA8N5H4UIpdTN5pUXq0P9cgWbCPFe+jQH9KEXx+GvZl6wOxhPv5gmrFFfVUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGDTAgXAdSRAxYw5MVKSOga/WvKqaYhauDYnN7X5OAlQAiEA4xXpMrlp/caRc33BJhMnTfKyo0VLU2Fcguff84UWz6I="}]}},"0.2.2":{"name":"gulp-extname","description":"gulp plugin to dynamically rewrite dest extensions based on src extensions.","version":"0.2.2","homepage":"https://github.com/jonschlinkert/gulp-extname","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/gulp-extname.git"},"bugs":{"url":"https://github.com/jonschlinkert/gulp-extname/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"rewrite-ext":"^0.2.0","through2":"^2.0.0"},"devDependencies":{"gulp-format-md":"^0.1.4","mocha":"*","should":"*","vinyl":"^1.1.0"},"keywords":["dest","ext","extension","extensions","extname","file","filename","filepath","fp","fs","gulpfriendly","map","name","path","rename","rewrite","src"],"verb":{"related":{"list":["gulp-dest","gulp-htmlmin","gulp-prettify","gulp-format-md","gulp-routes"]},"layout":"default","plugins":["gulp-format-md"]},"gitHead":"ca70d7edcbd09ba6b3ac9dbf5358035c5d9c4303","_id":"gulp-extname@0.2.2","_shasum":"344981172c57523d8781a3c5bc2c8cbacb07aeab","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"344981172c57523d8781a3c5bc2c8cbacb07aeab","tarball":"https://registry.npmjs.org/gulp-extname/-/gulp-extname-0.2.2.tgz","integrity":"sha512-zyyOnfFymMZO96ic1qJTGOVeAAgCoJ9hDFizv2err8r1KsBpgq9T16fuvv4H+DrXz/rBKdADzP6s8j1Jyg2tmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHlyMZaXvgVfK5qP2qZ3Y0UMVIlYsbHrQ5wfMFp57NQ8AiBw4hpy+8OCnaPG6UFEfRBbkwLwZGnEwysuXj+X9fiZIQ=="}]}}},"readme":"# gulp-extname [![NPM version](https://img.shields.io/npm/v/gulp-extname.svg)](https://www.npmjs.com/package/gulp-extname) [![Build Status](https://img.shields.io/travis/jonschlinkert/gulp-extname.svg)](https://travis-ci.org/jonschlinkert/gulp-extname)\n\n> gulp plugin to dynamically rewrite dest extensions based on src extensions.\n\n- [Install](#install)\n- [Usage](#usage)\n  * [Define extension](#define-extension)\n- [Extension mappings](#extension-mappings)\n- [Related projects](#related-projects)\n- [Running tests](#running-tests)\n- [Contributing](#contributing)\n- [Author](#author)\n- [License](#license)\n\n_(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](https://github.com/jonschlinkert/markdown-toc))_\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm i gulp-extname --save\n```\n\n## Usage\n\n```js\nvar gulp = require('gulp');\nvar extname = require('gulp-extname');\n\ngulp.task('default', function() {\n  gulp.src('styles.less')\n    .pipe(extname())\n    .pipe(gulp.dest('dist/css'));\n    //=> dist/css/styles.css\n});\n```\n\n### Define extension\n\nExplicitly pass an extension to use. Any of these will work:\n\n```js\n.pipe(extname('.foo'))\n\n// or\n.pipe(extname('foo'))\n\n// or\n.pipe(extname({ext: 'foo'}))\n```\n\n## Extension mappings\n\nThe following extensions are mapped automatically:\n\n```js\n// html\n.md    //=> .html\n.hbs   //=> .html\n.swig  //=> .html\n.tmpl  //=> .html\n.html  //=> .html\n.htm   //=> .html\n\n// css\n.less  //=> .css\n.styl  //=> .css\n.sass  //=> .css\n.scss  //=> .css\n.css   //=> .css\n\n// js\n.coffee//=> .js\n.js    //=> .js\n```\n\n[Add extension mappings](https://github.com/jonschlinkert/ext-map), or use [rewrite-ext](https://github.com/jonschlinkert/rewrite-ext) for non-gulp projects.\n\n## Related projects\n\n* [gulp-dest](https://www.npmjs.com/package/gulp-dest): Gulp plugin for easily defining destination paths using path variables. | [homepage](https://github.com/jonschlinkert/gulp-dest)\n* [gulp-format-md](https://www.npmjs.com/package/gulp-format-md): Gulp plugin for beautifying markdown using pretty-remarkable. | [homepage](https://github.com/jonschlinkert/gulp-format-md)\n* [gulp-htmlmin](https://www.npmjs.com/package/gulp-htmlmin): gulp plugin to minify HTML. | [homepage](https://github.com/jonschlinkert/gulp-htmlmin#readme)\n* [gulp-prettify](https://www.npmjs.com/package/gulp-prettify): Prettify, format, beautify HTML. | [homepage](https://github.com/jonschlinkert/gulp-prettify)\n* [gulp-routes](https://www.npmjs.com/package/gulp-routes): Add middleware to run for specified routes in your gulp pipeline. | [homepage](https://github.com/assemble/gulp-routes)\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/gulp-extname/issues/new).\n\n## Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2016 [Jon Schlinkert](https://github.com/jonschlinkert)\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb) on January 06, 2016._","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-18T17:03:21.873Z","created":"2014-11-13T16:47:22.735Z","0.1.0":"2014-11-13T16:47:22.735Z","0.1.1":"2014-11-13T16:52:28.127Z","0.2.0":"2014-12-08T10:45:55.220Z","0.2.2":"2016-01-06T15:17:45.418Z"},"homepage":"https://github.com/jonschlinkert/gulp-extname","keywords":["dest","ext","extension","extensions","extname","file","filename","filepath","fp","fs","gulpfriendly","map","name","path","rename","rewrite","src"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/gulp-extname.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/gulp-extname/issues"},"readmeFilename":"README.md","users":{},"license":"MIT"}