{"_id":"ext-ext","_rev":"106469","name":"ext-ext","description":"Extension of the node.js path.extname method.","dist-tags":{"latest":"0.1.2"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:38:33.000Z","created":"2014-06-17T08:20:53.198Z","0.1.2":"2014-06-28T11:53:21.921Z","0.1.1":"2014-06-28T11:53:02.224Z","0.1.0":"2014-06-17T08:20:53.198Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/ext-ext.git"},"versions":{"0.1.2":{"name":"ext-ext","description":"Extension of the node.js path.extname method.","version":"0.1.2","homepage":"https://github.com/jonschlinkert/ext-ext","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/ext-ext.git"},"bugs":{"url":"https://github.com/jonschlinkert/ext-ext/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/ext-ext/blob/master/LICENSE-MIT"}],"keywords":["ext","extname","extensions","extension","utils","path","filepath","fs","file"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb":"~0.2.6","chai":"~1.9.1","mocha":"*"},"dependencies":{"array-last":"^0.1.0","parse-filepath":"^0.2.1"},"_id":"ext-ext@0.1.2","_shasum":"cc8bcd59ff747febf67054666077915271007ff8","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"cc8bcd59ff747febf67054666077915271007ff8","size":3132,"noattachment":false,"key":"/ext-ext/-/ext-ext-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ext-ext/download/ext-ext-0.1.2.tgz"},"directories":{},"publish_time":1403956401921,"_cnpm_publish_time":1403956401921,"_hasShrinkwrap":false},"0.1.1":{"name":"ext-ext","description":"Extension of the node.js path.extname method.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/ext-ext","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/ext-ext.git"},"bugs":{"url":"https://github.com/jonschlinkert/ext-ext/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/ext-ext/blob/master/LICENSE-MIT"}],"keywords":["ext","extname","extensions","extension","utils","path","filepath","fs","file"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb":"~0.2.6","chai":"~1.9.1","mocha":"*"},"dependencies":{"array-last":"^0.1.0","lodash":"^2.4.1","parse-filepath":"^0.2.1"},"_id":"ext-ext@0.1.1","_shasum":"f3acffa5c534b8b7ef51ca122da02d195d356cef","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"f3acffa5c534b8b7ef51ca122da02d195d356cef","size":3155,"noattachment":false,"key":"/ext-ext/-/ext-ext-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ext-ext/download/ext-ext-0.1.1.tgz"},"directories":{},"publish_time":1403956382224,"_cnpm_publish_time":1403956382224,"_hasShrinkwrap":false},"0.1.0":{"name":"ext-ext","description":"Extension of the node.js extname method.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/ext-ext","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/ext-ext.git"},"bugs":{"url":"https://github.com/jonschlinkert/ext-ext/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/ext-ext/blob/master/LICENSE-MIT"}],"keywords":["ext","extname","extensions","extension","utils","path","filepath","fs","file"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb":"~0.2.6","chai":"~1.9.1","mocha":"*"},"dependencies":{"lodash":"^2.4.1","parse-filepath":"^0.2.1"},"_id":"ext-ext@0.1.0","_shasum":"4e4f6ac981787db57d928a66c7b902d6e8f81c46","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4e4f6ac981787db57d928a66c7b902d6e8f81c46","size":3104,"noattachment":false,"key":"/ext-ext/-/ext-ext-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ext-ext/download/ext-ext-0.1.0.tgz"},"directories":{},"publish_time":1402993253198,"_cnpm_publish_time":1402993253198,"_hasShrinkwrap":false}},"readme":"# ext-ext [![NPM version](https://badge.fury.io/js/ext-ext.png)](http://badge.fury.io/js/ext-ext)\n\n> Extension of the node.js path.extname method.\n\n## Install\nInstall with [npm](npmjs.org):\n\n```bash\nnpm i ext-ext --save-dev\n```\n\n## Usage\n\n```js\nvar ext = require('ext-ext');\nvar filepath = 'foo/bar/baz.min.js';\n\nconsole.log(ext(filepath));\n//=> '.min.js'\n\nconsole.log(ext(filepath, {extDot: 'first'}));\n//=> '.min'\n\nconsole.log(ext(filepath, {extDot: 'last'}));\n//=> '.js'\n```\n\nSee [the tests](./test) for more examples.\n\n\n## Tests\n\nIn the command line, run:\n\n```bash\nmocha\n```\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\nCopyright (c) 2014 Jon Schlinkert, contributors.  \nReleased under the MIT license\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on June 17, 2014._","_attachments":{},"homepage":"https://github.com/jonschlinkert/ext-ext","bugs":{"url":"https://github.com/jonschlinkert/ext-ext/issues"}}