parse-author-name
Parse the name of contact info like name <mail> (url)
let info = 'Shinnosuke Watanabe <snnskwtnb@gmail.com> (https://github.com/shinnn)';; //=> 'Shinnosuke Watanabe'
Installation
Package managers
npm
npm install parse-author-name
Bower
bower install parse-author-name
Duo
const parseAuthorName = ;
Standalone
Download the script file directly.
API
parseAuthorName(string)
string: String
Return: String
; //=> 'foo'; //=> ''
Credit
This project is a fork of somebody authored by Sindre Sorhus. Thanks, sindresorhus.
Licenses
somebody
MIT © Sindre Sorhus
parse-author-name
Copyright (c) 2014 - 2015 Shinnosuke Watanabe
Licensed under the MIT License.