{"_id":"author-regex","_rev":"106241","name":"author-regex","description":"Regular expression for parsing an `author` string into an object following npm conventions.","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:38:25.000Z","created":"2014-09-30T01:19:34.559Z","1.0.0":"2017-03-08T10:09:50.700Z","0.2.1":"2014-09-30T01:26:06.221Z","0.2.0":"2014-09-30T01:19:34.559Z"},"users":{"mimmo1":true},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/author-regex.git"},"versions":{"1.0.0":{"name":"author-regex","description":"Regular expression for parsing an `author` string into an object following npm conventions.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/author-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/author-regex.git"},"bugs":{"url":"https://github.com/jonschlinkert/author-regex/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.8"},"scripts":{"test":"mocha"},"keywords":["author","authors","exec","expression","extract","maintainer","maintainers","match","package","parse","person","pkg","re","regex","regexp","regular"],"devDependencies":{"gulp-format-md":"^0.1.11","mocha":"^3.2.0"},"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true}},"gitHead":"68dabb38b3aa109e83c8c1c5ca000b8012022380","_id":"author-regex@1.0.0","_shasum":"d08885be6b9bbf9439fe087c76287245f0a81450","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"d08885be6b9bbf9439fe087c76287245f0a81450","size":1851,"noattachment":false,"key":"/author-regex/-/author-regex-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/author-regex/download/author-regex-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/author-regex-1.0.0.tgz_1488967788697_0.3609799926634878"},"directories":{},"publish_time":1488967790700,"_cnpm_publish_time":1488967790700,"_hasShrinkwrap":false},"0.2.1":{"name":"author-regex","description":"Regular expression for parsing an `author` string into an object following npm conventions.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/author-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/author-regex.git"},"bugs":{"url":"https://github.com/jonschlinkert/author-regex/issues"},"main":"index.js","licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/author-regex/blob/master/LICENSE-MIT"}],"keywords":["author","authors","exec","expression","extract","maintainer","maintainers","match","package","parse","person","pkg","re","regex","regexp","regular"],"engines":{"node":">=0.8"},"scripts":{"test":"mocha -R test"},"devDependencies":{"should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0","mocha":"*"},"_id":"author-regex@0.2.1","_shasum":"8bdefaac6065a931799bec07eeef51b940e08f3c","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"8bdefaac6065a931799bec07eeef51b940e08f3c","size":2953,"noattachment":false,"key":"/author-regex/-/author-regex-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/author-regex/download/author-regex-0.2.1.tgz"},"directories":{},"publish_time":1412040366221,"_cnpm_publish_time":1412040366221,"_hasShrinkwrap":false},"0.2.0":{"name":"author-regex","description":"Regular expression for parsing an `author` string into an object following npm conventions.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/author-regex","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/author-regex.git"},"bugs":{"url":"https://github.com/jonschlinkert/author-regex/issues"},"main":"index.js","licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/author-regex/blob/master/LICENSE-MIT"}],"keywords":["author","authors","exec","expression","extract","maintainer","maintainers","match","package","parse","person","pkg","re","regex","regexp","regular"],"engines":{"node":">=0.8"},"scripts":{"test":"mocha -R test"},"devDependencies":{"should":"^4.0.4","verb":">= 0.2.6","verb-tag-jscomments":">= 0.2.0","mocha":"*"},"_id":"author-regex@0.2.0","_shasum":"73f4844717bc048a7544afa3408975200cba001f","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"73f4844717bc048a7544afa3408975200cba001f","size":2784,"noattachment":false,"key":"/author-regex/-/author-regex-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/author-regex/download/author-regex-0.2.0.tgz"},"directories":{},"publish_time":1412039974559,"_cnpm_publish_time":1412039974559,"_hasShrinkwrap":false}},"readme":"# author-regex [![NPM version](https://badge.fury.io/js/author-regex.svg)](http://badge.fury.io/js/author-regex)\n\n\n> Regular expression for parsing an `author` string into an object following npm conventions.\n\nThis the regex used by [parse-authors](https://github.com/jonschlinkert/parse-authors).\n\n\n**Related**\n\n - [parse-author](https://github.com/jonschlinkert/parse-author)\n - [parse-authors](https://github.com/jonschlinkert/parse-authors)\n\n\n## Install\n#### Install with [npm](npmjs.org)\n\n```bash\nnpm i author-regex --save\n```\n#### Install with [bower](https://github.com/bower/bower)\n\n```bash\nbower install author-regex --save\n```\n\n## Tests\n\nRun\n\n```bash\nnpm test\n```\n\n## Usage\n\n```js\nvar re = require('author-regex');\n\nfunction authors(str) {\n  return re().exec(str);\n}\nconsole.log(author('Jon Schlinkert <foo@bar.com> (https://github.com/jonschlinkert)'));\n```\nReturns:\n\n```js\n[ 'Jon Schlinkert <foo@bar.com> (https://github.com/jonschlinkert)',\n  'Jon Schlinkert',\n  'foo@bar.com',\n  'https://github.com/jonschlinkert',\n  index: 0,\n  input: 'Jon Schlinkert <foo@bar.com> (https://github.com/jonschlinkert)' ]\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 September 29, 2014._","_attachments":{},"homepage":"https://github.com/jonschlinkert/author-regex","bugs":{"url":"https://github.com/jonschlinkert/author-regex/issues"},"license":"MIT"}