{"_id":"parse-author","_rev":"216925","name":"parse-author","description":"Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"jonschlinkert","email":""}],"time":{"modified":"2023-03-24T09:12:58.000Z","created":"2014-09-30T02:09:49.490Z","2.0.0":"2017-03-08T12:07:54.314Z","1.0.0":"2016-04-14T02:18:25.867Z","0.2.2":"2016-04-13T21:52:43.266Z","0.2.1":"2016-02-20T10:35:00.757Z","0.2.0":"2015-03-11T00:51:45.796Z","0.1.0":"2014-09-30T02:09:49.490Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/parse-author.git"},"versions":{"2.0.0":{"name":"parse-author","description":"Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.","version":"2.0.0","homepage":"https://github.com/jonschlinkert/parse-author","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"contributors":[{"name":"Jon Schlinkert","email":"jon.schlinkert@sellside.com","url":"http://twitter.com/jonschlinkert"},{"name":"Sean Lang","email":"slang800@gmail.com","url":"http://slang.cx"},{"name":"Tim Oram","email":"mitmaro@gmail.com","url":"http://www.mitmaro.ca"}],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/parse-author.git"},"bugs":{"url":"https://github.com/jonschlinkert/parse-author/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"author-regex":"^1.0.0"},"devDependencies":{"mocha":"^3.2.0"},"keywords":["author","authors","contributor","exec","expression","extract","maintainer","maintainers","match","package","parse","person","pkg","re","regex","regexp","regular","somebody"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["author-regex","parse-authors","stringify-author","stringify-authors"]},"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"dc5528d371661331006cfb5b8301f151a5071f49","_id":"parse-author@2.0.0","_shasum":"d3460bf1ddd0dfaeed42da754242e65fb684a81f","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"d3460bf1ddd0dfaeed42da754242e65fb684a81f","size":3104,"noattachment":false,"key":"/parse-author/-/parse-author-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/parse-author/download/parse-author-2.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/parse-author-2.0.0.tgz_1488974872374_0.6180101195350289"},"directories":{},"publish_time":1488974874314,"_hasShrinkwrap":false,"_cnpm_publish_time":1488974874314,"_cnpmcore_publish_time":"2021-12-13T17:33:11.402Z"},"1.0.0":{"name":"parse-author","description":"Parse a string into an object with `name`, `email` and `url` properties following npm conventions. Useful for the `authors` property in package.json or for parsing an AUTHORS file into an array of authors objects.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/parse-author","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/parse-author.git"},"bugs":{"url":"https://github.com/jonschlinkert/parse-author/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"^2.4.5"},"keywords":["author","authors","exec","expression","extract","maintainer","maintainers","match","package","parse","person","pkg","re","regex","regexp","regular","somebody"],"verb":{"plugins":["gulp-format-md"],"reflinks":["verb"],"related":{"list":["parse-authors","author-regex","stringify-author","stringify-authors"]},"toc":{"render":false},"run":true,"layout":"default","lint":{"reflinks":true},"tasks":["readme"]},"gitHead":"34a7b3d3943d12eb7883ba5f1582355e515e7020","_id":"parse-author@1.0.0","_shasum":"5ec1590062977bd9cb3962e9173b87586437f5df","_from":".","_npmVersion":"3.7.2","_nodeVersion":"5.6.0","_npmUser":{"name":"slang","email":"slang800@gmail.com"},"dist":{"shasum":"5ec1590062977bd9cb3962e9173b87586437f5df","size":2519,"noattachment":false,"key":"/parse-author/-/parse-author-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/parse-author/download/parse-author-1.0.0.tgz"},"maintainers":[{"name":"jonschlinkert","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/parse-author-1.0.0.tgz_1460600303599_0.012404166860505939"},"directories":{},"publish_time":1460600305867,"_hasShrinkwrap":false,"_cnpm_publish_time":1460600305867,"_cnpmcore_publish_time":"2021-12-13T17:33:11.589Z"},"0.2.2":{"name":"parse-author","description":"Parse a string into an object with `name`, `email` and `url` properties following npm conventions. Useful for the `authors` property in package.json or for parsing an AUTHORS file into an array of authors objects.","version":"0.2.2","homepage":"https://github.com/jonschlinkert/parse-author","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/parse-author.git"},"bugs":{"url":"https://github.com/jonschlinkert/parse-author/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"author-regex":"^0.2.1"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"^2.4.5"},"keywords":["author","authors","exec","expression","extract","maintainer","maintainers","match","package","parse","person","pkg","re","regex","regexp","regular","somebody"],"verb":{"plugins":["gulp-format-md"],"reflinks":["verb"],"related":{"list":["parse-authors","author-regex","stringify-author","stringify-authors"]},"toc":{"render":false},"run":true,"layout":"default","lint":{"reflinks":true},"tasks":["readme"]},"gitHead":"82c8b4aa20e2ea4660e390abe9966b2e2a0a1ec0","_id":"parse-author@0.2.2","_shasum":"302d1b8e4c66519d1c45dd95103d3328c4498efd","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"302d1b8e4c66519d1c45dd95103d3328c4498efd","size":2490,"noattachment":false,"key":"/parse-author/-/parse-author-0.2.2.tgz","tarball":"http://name.csiicloud.com:7001/parse-author/download/parse-author-0.2.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/parse-author-0.2.2.tgz_1460584360882_0.9134593538474292"},"directories":{},"publish_time":1460584363266,"_hasShrinkwrap":false,"_cnpm_publish_time":1460584363266,"_cnpmcore_publish_time":"2021-12-13T17:33:11.789Z"},"0.2.1":{"name":"parse-author","description":"Parse a string into an object with `name`, `email` and `url` properties following npm conventions. Useful for the `authors` property in package.json or for parsing an AUTHORS file into an array of authors objects.","version":"0.2.1","homepage":"https://github.com/jonschlinkert/parse-author","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/parse-author.git"},"bugs":{"url":"https://github.com/jonschlinkert/parse-author/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"author-regex":"^0.2.1"},"devDependencies":{"gulp-format-md":"^0.1.7","mocha":"*"},"keywords":["author","authors","exec","expression","extract","maintainer","maintainers","match","package","parse","person","pkg","re","regex","regexp","regular","somebody"],"verb":{"run":true,"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"reflinks":["verb"],"lint":{"reflinks":true}},"gitHead":"e396da2cb0463b20fe5ac7efa293f2b0eed467a3","_id":"parse-author@0.2.1","_shasum":"92c78f78b6622ca4927a43ff2032e1f9b7ed0fd4","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.5.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"92c78f78b6622ca4927a43ff2032e1f9b7ed0fd4","size":2219,"noattachment":false,"key":"/parse-author/-/parse-author-0.2.1.tgz","tarball":"http://name.csiicloud.com:7001/parse-author/download/parse-author-0.2.1.tgz"},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/parse-author-0.2.1.tgz_1455964497858_0.045211743330582976"},"directories":{},"publish_time":1455964500757,"_hasShrinkwrap":false,"_cnpm_publish_time":1455964500757,"_cnpmcore_publish_time":"2021-12-13T17:33:12.004Z"},"0.2.0":{"name":"parse-author","description":"Parse a string into an object with `name`, `email` and `url` properties following npm conventions. Useful for the `authors` property in package.json or for parsing an AUTHORS file into an array of authors objects.","version":"0.2.0","homepage":"https://github.com/jonschlinkert/parse-author","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/parse-author.git"},"bugs":{"url":"https://github.com/jonschlinkert/parse-author/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/parse-author/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"author-regex":"^0.2.1"},"devDependencies":{"should":"^4.0.4","mocha":"*"},"keywords":["author","authors","exec","expression","extract","maintainer","maintainers","match","package","parse","person","pkg","re","regex","regexp","regular"],"gitHead":"0671803fd4ebaaa7a74484862da0b00d15c27439","_id":"parse-author@0.2.0","_shasum":"de4274e5e702c18831c501a7cf66fcdf319fb1f9","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"de4274e5e702c18831c501a7cf66fcdf319fb1f9","size":1922,"noattachment":false,"key":"/parse-author/-/parse-author-0.2.0.tgz","tarball":"http://name.csiicloud.com:7001/parse-author/download/parse-author-0.2.0.tgz"},"publish_time":1426035105796,"_hasShrinkwrap":false,"_cnpm_publish_time":1426035105796,"_cnpmcore_publish_time":"2021-12-13T17:33:12.207Z"},"0.1.0":{"name":"parse-author","description":"Parse a string into an object with `name`, `email` and `url` properties following npm conventions. Useful for the `authors` property in package.json or for parsing an AUTHORS file into an array of authors objects.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/parse-author","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/parse-author.git"},"bugs":{"url":"https://github.com/jonschlinkert/parse-author/issues"},"licenses":[{"type":"MIT","url":"https://github.com/jonschlinkert/parse-author/blob/master/LICENSE-MIT"}],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha -R spec"},"devDependencies":{"verb-tag-jscomments":">= 0.2.0","verb":">= 0.2.6","should":"^4.0.4","mocha":"*"},"keywords":["author","authors","exec","expression","extract","maintainer","maintainers","match","package","parse","person","pkg","re","regex","regexp","regular"],"dependencies":{"author-regex":"^0.2.1"},"_id":"parse-author@0.1.0","_shasum":"7b150913083ef3d7353a9ed16c924424d9215f01","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""}],"dist":{"shasum":"7b150913083ef3d7353a9ed16c924424d9215f01","size":2971,"noattachment":false,"key":"/parse-author/-/parse-author-0.1.0.tgz","tarball":"http://name.csiicloud.com:7001/parse-author/download/parse-author-0.1.0.tgz"},"directories":{},"publish_time":1412042989490,"_hasShrinkwrap":false,"_cnpm_publish_time":1412042989490,"_cnpmcore_publish_time":"2021-12-13T17:33:12.426Z"}},"readme":"# parse-author [![NPM version](https://img.shields.io/npm/v/parse-author.svg?style=flat)](https://www.npmjs.com/package/parse-author) [![NPM monthly downloads](https://img.shields.io/npm/dm/parse-author.svg?style=flat)](https://npmjs.org/package/parse-author)  [![NPM total downloads](https://img.shields.io/npm/dt/parse-author.svg?style=flat)](https://npmjs.org/package/parse-author) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/parse-author.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/parse-author)\n\n> Parse a string into an object with `name`, `email` and `url` properties following npm conventions. Useful for the `authors` property in package.json or for parsing an AUTHORS file into an array of authors objects.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save parse-author\n```\n\n## Usage\n\n```js\nvar parse = require('parse-author');\n```\n\n## Supported formats\n\nWorks with a flexible range of formats, any of the properties can be used or missing:\n\n```\nName\nName <email> (url)\nName <email>(url)\nName<email> (url)\nName<email>(url)\nName (url) <email>\nName (url)<email>\nName(url) <email>\nName(url)<email>\nName (url)\nName(url)\nName <email>\nName<email>\n<email> (url)\n<email>(url)\n(url) <email>\n(url)<email>\n<email>\n(url)\n```\n\n## Examples\n\n```js\nvar author = parse('Jon Schlinkert <jon.schlinkert@sellside.com> (https://github.com/jonschlinkert)');\nconsole.log(author);\n//=> {name: 'Jon Schlinkert', email: 'jon.schlinkert@sellside.com', url: 'https://github.com/jonschlinkert'}\n\nconsole.log(parse('Jon Schlinkert (https://github.com/jonschlinkert)'));\n//=> {name: 'Jon Schlinkert', url: 'https://github.com/jonschlinkert'}\n\nconsole.log(parse('Jon Schlinkert <jon.schlinkert@sellside.com>'));\n//=> {name: 'Jon Schlinkert', email: 'jon.schlinkert@sellside.com'}\n\nconsole.log(parse(''));\n//=> {}\n```\n\n## About\n\n### Related projects\n\n* [author-regex](https://www.npmjs.com/package/author-regex): Regular expression for parsing an `author` string into an object following npm conventions. | [homepage](https://github.com/jonschlinkert/author-regex \"Regular expression for parsing an `author` string into an object following npm conventions.\")\n* [parse-authors](https://www.npmjs.com/package/parse-authors): Parse a string into an array of objects with `name`, `email` and `url` properties following… [more](https://github.com/jonschlinkert/parse-authors) | [homepage](https://github.com/jonschlinkert/parse-authors \"Parse a string into an array of objects with `name`, `email` and `url` properties following npm conventions. Useful for the `authors` property in package.json or for parsing an AUTHORS file into an array of authors objects.\")\n* [stringify-author](https://www.npmjs.com/package/stringify-author): Stringify an authors object to `name <email> (url)`. | [homepage](https://github.com/jonschlinkert/stringify-author \"Stringify an authors object to `name <email> (url)`.\")\n* [stringify-authors](https://www.npmjs.com/package/stringify-authors): Converts an author object or array of author objects into an array of strings. Useful… [more](https://github.com/jonschlinkert/stringify-authors) | [homepage](https://github.com/jonschlinkert/stringify-authors \"Converts an author object or array of author objects into an array of strings. Useful for adding authors, maintainers or contributors to documentation, package.json or a readme.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 14 | [slang800](https://github.com/slang800) |\n| 12 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [MitMaro](https://github.com/MitMaro) |\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.3, on March 08, 2017._","_attachments":{},"homepage":"https://github.com/jonschlinkert/parse-author","bugs":{"url":"https://github.com/jonschlinkert/parse-author/issues"},"license":"MIT"}