{"id":15677798,"url":"https://github.com/jonschlinkert/author-regex","last_synced_at":"2025-05-06T21:07:06.753Z","repository":{"id":21303289,"uuid":"24619606","full_name":"jonschlinkert/author-regex","owner":"jonschlinkert","description":"Regular expression for parsing an `author` string into an object following npm conventions.","archived":false,"fork":false,"pushed_at":"2017-03-08T10:10:06.000Z","size":8,"stargazers_count":13,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T21:06:55.833Z","etag":null,"topics":["contributor","maintainer","parsing","person","regex","regular-expression","somebody"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonschlinkert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-30T01:25:03.000Z","updated_at":"2024-05-31T16:24:14.000Z","dependencies_parsed_at":"2022-07-23T09:00:06.965Z","dependency_job_id":null,"html_url":"https://github.com/jonschlinkert/author-regex","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fauthor-regex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fauthor-regex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fauthor-regex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fauthor-regex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","download_url":"https://codeload.github.com/jonschlinkert/author-regex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252769420,"owners_count":21801378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contributor","maintainer","parsing","person","regex","regular-expression","somebody"],"created_at":"2024-10-03T16:11:55.856Z","updated_at":"2025-05-06T21:07:06.730Z","avatar_url":"https://github.com/jonschlinkert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# author-regex [![NPM version](https://badge.fury.io/js/author-regex.svg)](http://badge.fury.io/js/author-regex)\n\n\n\u003e 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 \u003cfoo@bar.com\u003e (https://github.com/jonschlinkert)'));\n```\nReturns:\n\n```js\n[ 'Jon Schlinkert \u003cfoo@bar.com\u003e (https://github.com/jonschlinkert)',\n  'Jon Schlinkert',\n  'foo@bar.com',\n  'https://github.com/jonschlinkert',\n  index: 0,\n  input: 'Jon Schlinkert \u003cfoo@bar.com\u003e (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._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Fauthor-regex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonschlinkert%2Fauthor-regex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Fauthor-regex/lists"}