Stringify an authors object to
name <email> (url).
Install with npm
$ npm i stringify-author --save
var stringify = ;var authors =;console;//=> 'Jon Schlinkert <email@example.com> ()'
Any of the properties can be used or missing:
var authors =name: 'Brian Woodward' url: ''name: 'Jon Schlinkert' url: '';console;//=> [ 'Brian Woodward ()', 'Jon Schlinkert ()' ]
Similar or related projects
- author-regex: Regular expression for parsing an
authorstring into an object following npm conventions. | homepage
- parse-author: Parse a string into an object with
urlproperties following npm conventions.… more | homepage
- parse-authors: Parse a string into an array of objects with
urlproperties following… more | homepage
- stringify-authors: Converts an author object or array of author objects into an array of strings. Useful… more | homepage
Install dev dependencies:
$ npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on November 22, 2015.