{"_id":"ext-map","_rev":"86752","name":"ext-map","description":"just an object that maps `src` file extensions to `dest` file extensions as key/value pairs (e.g. `{'.less': '.css'}`). Useful for dynamically rewriting paths in tasks/plugins. pull requests welcome.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:28:09.000Z","created":"2014-11-13T16:08:43.969Z","1.0.1":"2015-05-04T11:50:10.537Z","1.0.0":"2015-01-15T07:54:25.173Z","0.1.1":"2014-11-14T22:35:43.713Z","0.1.0":"2014-11-13T16:08:43.969Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/ext-map.git"},"versions":{"1.0.1":{"name":"ext-map","description":"just an object that maps `src` file extensions to `dest` file extensions as key/value pairs (e.g. `{'.less': '.css'}`). Useful for dynamically rewriting paths in tasks/plugins. pull requests welcome.","version":"1.0.1","homepage":"https://github.com/jonschlinkert/ext-map","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/ext-map.git"},"bugs":{"url":"https://github.com/jonschlinkert/ext-map/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/ext-map/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"keywords":["convert","dest","ext","extensions","extname","file","filename","filepath","format","gulpfriendly","language","map","parse","path","pre-processor","src","type"],"gitHead":"347a068601f828b13f08e9aca031a0f0897b5627","_id":"ext-map@1.0.1","_shasum":"1fcd857135694bb229fbdccf2614db60d813e051","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1fcd857135694bb229fbdccf2614db60d813e051","size":2096,"noattachment":false,"key":"/ext-map/-/ext-map-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ext-map/download/ext-map-1.0.1.tgz"},"directories":{},"publish_time":1430740210537,"_cnpm_publish_time":1430740210537,"_hasShrinkwrap":false},"1.0.0":{"name":"ext-map","description":"just an object that maps `src` file extensions to `dest` file extensions as key/value pairs (e.g. `{'.less': '.css'}`). Useful for dynamically rewriting paths in tasks/plugins. pull requests welcome.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/ext-map","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/ext-map.git"},"bugs":{"url":"https://github.com/jonschlinkert/ext-map/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/ext-map/blob/master/LICENSE-MIT"},"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*"},"keywords":["convert","dest","ext","extensions","extname","file","filename","filepath","format","gulpfriendly","language","map","parse","path","pre-processor","src","type"],"gitHead":"2ed69d6c9c9b9b7c65bfab4141398c02e91c359d","_id":"ext-map@1.0.0","_shasum":"c228eaa0fffbf3e475d7b8aae4d4e470881f1916","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"c228eaa0fffbf3e475d7b8aae4d4e470881f1916","size":2895,"noattachment":false,"key":"/ext-map/-/ext-map-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ext-map/download/ext-map-1.0.0.tgz"},"directories":{},"publish_time":1421308465173,"_cnpm_publish_time":1421308465173,"_hasShrinkwrap":false},"0.1.1":{"name":"ext-map","description":"just an object that maps `src` file extensions to `dest` file extensions as key/value pairs (e.g. `{'.less': '.css'}`). Useful for dynamically rewriting paths in tasks/plugins. pull requests welcome.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/ext-map","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/ext-map.git"},"bugs":{"url":"https://github.com/jonschlinkert/ext-map/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/ext-map/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["dest","ext","extensions","extname","file","filename","filepath","fp","fs","gulpfriendly","map","path","src"],"_id":"ext-map@0.1.1","_shasum":"b51fc55f1f06c4bfdfc17d3808c724020d1548b2","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b51fc55f1f06c4bfdfc17d3808c724020d1548b2","size":2666,"noattachment":false,"key":"/ext-map/-/ext-map-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ext-map/download/ext-map-0.1.1.tgz"},"directories":{},"publish_time":1416004543713,"_cnpm_publish_time":1416004543713,"_hasShrinkwrap":false},"0.1.0":{"name":"ext-map","description":"maps `src` file extensions to `dest` file extensions as key/value pairs (e.g. `{'.less': '.css'}`). Useful for rewriting paths in tasks/plugins. pull requests welcome.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/ext-map","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/ext-map.git"},"bugs":{"url":"https://github.com/jonschlinkert/ext-map/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/ext-map/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["dest","ext","extensions","extname","file","filename","filepath","fp","fs","gulpfriendly","map","path","src"],"_id":"ext-map@0.1.0","_shasum":"cebcb641c474375634eeb79d191c13bbb51c3549","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"cebcb641c474375634eeb79d191c13bbb51c3549","size":2621,"noattachment":false,"key":"/ext-map/-/ext-map-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ext-map/download/ext-map-0.1.0.tgz"},"directories":{},"publish_time":1415894923969,"_cnpm_publish_time":1415894923969,"_hasShrinkwrap":false}},"readme":"# ext-map [![NPM version](https://badge.fury.io/js/ext-map.svg)](http://badge.fury.io/js/ext-map)\n\n> just an object that maps `src` file extensions to `dest` file extensions as key/value pairs (e.g. `{'.less': '.css'}`). Useful for dynamically rewriting paths in tasks/plugins. pull requests welcome.\n\n## Related projects\n\n* [gulp-extname](https://github.com/jonschlinkert/gulp-extname): gulp plugin to dynamically rewrite dest extensions based on src extensions.\n* [rewrite-ext](https://github.com/jonschlinkert/rewrite-ext): Automatically re-write the destination extension of a filepath based on the source extension. e.g … [more](https://github.com/jonschlinkert/rewrite-ext)\n\nInstall with [npm](https://www.npmjs.com/)\n\n```bash\nnpm i ext-map --save\n```\n\n## Usage\n\n```js\nvar exts = require('ext-map');\n```\n\n### Mapped extensions\n\nPull requests to add mappings would be appreciated.\n\n**HTML**\n\n* `.md`: => `.html`\n* `.hbs`: => `.html`\n* `.slim`: => `.html`\n* `.swig`: => `.html`\n* `.tmpl`: => `.html`\n* `.html`: => `.html`\n* `.htm`: => `.html`\n\n**css**\n\n* `.less`: => `.css`\n* `.styl`: => `.css`\n* `.sass`: => `.css`\n* `.scss`: => `.css`\n* `.css`: => `.css`\n\n**js**\n\n* `.coffee`: => `.js`\n* `.ls`: => `.js`\n* `.ts`: => `.js`\n* `.js`: => `.js`\n\n## Tests\n\nInstall dev dependencies:\n\n```bash\nnpm 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/ext-map/issues)\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 (c) 2014-2015 Jon Schlinkert\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on May 04, 2015._[assemble]: http://assemble.io\n[template]: https://github.com/jonschlinkert/template\n[verb]: https://github.com/assemble/verb\n","_attachments":{},"homepage":"https://github.com/jonschlinkert/ext-map","bugs":{"url":"https://github.com/jonschlinkert/ext-map/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/ext-map/blob/master/LICENSE"}}