{"_id":"format-people","_rev":"77572","name":"format-people","description":"Format a list of authors, contributors, or collaborators.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2021-06-03T10:24:56.000Z","created":"2016-09-09T16:55:31.111Z","1.0.1":"2018-08-14T16:55:21.149Z","1.0.0":"2018-08-14T16:52:36.142Z","0.1.4":"2016-10-31T18:12:59.080Z","0.1.3":"2016-09-21T18:05:10.372Z","0.1.2":"2016-09-21T17:55:52.820Z","0.1.1":"2016-09-09T16:57:24.722Z","0.1.0":"2016-09-09T16:55:31.111Z"},"users":{},"author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/format-people.git"},"versions":{"1.0.1":{"name":"format-people","description":"Format a list of authors, contributors, or collaborators.","version":"1.0.1","homepage":"https://github.com/doowb/format-people","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/format-people.git"},"bugs":{"url":"https://github.com/doowb/format-people/issues"},"license":"MIT","files":["index.js","lib"],"main":"index.js","engines":{"node":">=8"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^3.5.3"},"keywords":["format","people"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"related":{"list":["github-base","github-contributors"]},"reflinks":["verb","verb-generate-readme"]},"gitHead":"a2b08b90044ac69131f13429c251fb799744a92b","_id":"format-people@1.0.1","_npmVersion":"6.3.0","_nodeVersion":"10.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"abaf18f010d30fdb74bc1b5256514be6a9fe9475","size":3543,"noattachment":false,"key":"/format-people/-/format-people-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/format-people/download/format-people-1.0.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format-people_1.0.1_1534265721017_0.3026429977946481"},"_hasShrinkwrap":false,"publish_time":1534265721149,"_cnpm_publish_time":1534265721149},"1.0.0":{"name":"format-people","description":"Format a list of authors, contributors, or collaborators.","version":"1.0.0","homepage":"https://github.com/doowb/format-people","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/format-people.git"},"bugs":{"url":"https://github.com/doowb/format-people/issues"},"license":"MIT","files":["index.js","lib"],"main":"index.js","engines":{"node":">=4.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^3.5.3"},"keywords":["format","people"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"related":{"list":["github-base","github-contributors"]},"reflinks":["verb","verb-generate-readme"]},"gitHead":"92ddd337a6b0b7792d6d5442e4cd13067bf8d382","_id":"format-people@1.0.0","_npmVersion":"6.3.0","_nodeVersion":"10.0.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"648764af382fcd46bf0e47d84740e72c11d8fd5f","size":3522,"noattachment":false,"key":"/format-people/-/format-people-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/format-people/download/format-people-1.0.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/format-people_1.0.0_1534265555997_0.0922233192591817"},"_hasShrinkwrap":false,"publish_time":1534265556142,"_cnpm_publish_time":1534265556142},"0.1.4":{"name":"format-people","description":"Format a list of authors, contributors, or collaborators.","version":"0.1.4","homepage":"https://github.com/doowb/format-people","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/format-people.git"},"bugs":{"url":"https://github.com/doowb/format-people/issues"},"license":"MIT","files":["index.js","lib"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","markdown-utils":"^0.7.3","right-pad-values":"^0.3.1"},"devDependencies":{"gulp-format-md":"^0.1.10","mocha":"^3.0.2"},"keywords":["format","people"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"related":{"list":["github-base","github-contributors"]},"reflinks":["verb","verb-generate-readme"]},"gitHead":"0e2ab161b16394a78e1fd920a10171db2ae779a3","_id":"format-people@0.1.4","_shasum":"b1da1aad853e967426cceaf9f6a635a8eeaad97d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"b1da1aad853e967426cceaf9f6a635a8eeaad97d","size":3480,"noattachment":false,"key":"/format-people/-/format-people-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/format-people/download/format-people-0.1.4.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/format-people-0.1.4.tgz_1477937578502_0.4375043276231736"},"directories":{},"publish_time":1477937579080,"_cnpm_publish_time":1477937579080,"_hasShrinkwrap":false},"0.1.3":{"name":"format-people","description":"Format a list of authors, contributors, or collaborators.","version":"0.1.3","homepage":"https://github.com/doowb/format-people","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/format-people.git"},"bugs":{"url":"https://github.com/doowb/format-people/issues"},"license":"MIT","files":["index.js","lib"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","markdown-utils":"^0.7.3","right-pad-values":"^0.3.1"},"devDependencies":{"gulp-format-md":"^0.1.10","mocha":"^3.0.2"},"keywords":["format","people"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"related":{"list":["github-base","github-contributors"]},"reflinks":["verb","verb-generate-readme"]},"gitHead":"996d8a30c115e80daaac903379ff51c0a439a6ac","_id":"format-people@0.1.3","_shasum":"805be25be06a89c5ff74c141c4c87595a03a53e7","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"805be25be06a89c5ff74c141c4c87595a03a53e7","size":3473,"noattachment":false,"key":"/format-people/-/format-people-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/format-people/download/format-people-0.1.3.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/format-people-0.1.3.tgz_1474481109767_0.49964874191209674"},"directories":{},"publish_time":1474481110372,"_cnpm_publish_time":1474481110372,"_hasShrinkwrap":false},"0.1.2":{"name":"format-people","description":"Format a list of authors, contributors, or collaborators.","version":"0.1.2","homepage":"https://github.com/doowb/format-people","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/format-people.git"},"bugs":{"url":"https://github.com/doowb/format-people/issues"},"license":"MIT","files":["index.js","lib"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","markdown-utils":"^0.7.3","right-pad-values":"^0.3.1"},"devDependencies":{"gulp-format-md":"^0.1.10","mocha":"^3.0.2"},"keywords":["format","people"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"related":{"list":["github-base","github-contributors"]},"reflinks":["verb","verb-generate-readme"]},"gitHead":"2b35475ec83c3a28d29f25dbb97de559e3a80a58","_id":"format-people@0.1.2","_shasum":"4a3e336dd250ac36da4ba1014f987ff7441dec0a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"4a3e336dd250ac36da4ba1014f987ff7441dec0a","size":3469,"noattachment":false,"key":"/format-people/-/format-people-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/format-people/download/format-people-0.1.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/format-people-0.1.2.tgz_1474480551036_0.5914687418844551"},"directories":{},"publish_time":1474480552820,"_cnpm_publish_time":1474480552820,"_hasShrinkwrap":false},"0.1.1":{"name":"format-people","description":"Format a list of authors, contributors, or collaborators.","version":"0.1.1","homepage":"https://github.com/doowb/format-people","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/format-people.git"},"bugs":{"url":"https://github.com/doowb/format-people/issues"},"license":"MIT","files":["index.js","lib","LICENSE"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","markdown-utils":"^0.7.3","right-pad-values":"^0.3.1"},"devDependencies":{"gulp-format-md":"^0.1.10","mocha":"^3.0.2"},"keywords":["format","people"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"related":{"list":["github-base","github-contributors"]},"reflinks":["verb","verb-generate-readme"]},"gitHead":"2b35475ec83c3a28d29f25dbb97de559e3a80a58","_id":"format-people@0.1.1","_shasum":"a0648db290ba8bdb18691baef14e843d56bb526f","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"a0648db290ba8bdb18691baef14e843d56bb526f","size":3448,"noattachment":false,"key":"/format-people/-/format-people-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/format-people/download/format-people-0.1.1.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/format-people-0.1.1.tgz_1473440243269_0.47918515536002815"},"directories":{},"publish_time":1473440244722,"_cnpm_publish_time":1473440244722,"_hasShrinkwrap":false},"0.1.0":{"name":"format-people","description":"Format a list of authors, contributors, or collaborators.","version":"0.1.0","homepage":"https://github.com/doowb/format-people","author":{"name":"Brian Woodward","url":"https://github.com/doowb"},"repository":{"type":"git","url":"git+https://github.com/doowb/format-people.git"},"bugs":{"url":"https://github.com/doowb/format-people/issues"},"license":"MIT","files":["index.js","LICENSE"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"keywords":["format","people"],"dependencies":{"extend-shallow":"^2.0.1","markdown-utils":"^0.7.3","right-pad-values":"^0.3.1"},"devDependencies":{"gulp-format-md":"^0.1.10","mocha":"^3.0.2"},"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"related":{"list":["github-base","github-contributors"]},"reflinks":["verb","verb-generate-readme"]},"gitHead":"8d444be13a02de04c4d189e7e838fce2c6450d1a","_id":"format-people@0.1.0","_shasum":"385ecf78b64ec918c42c6b48ef68be8cab10e862","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.1.1","_npmUser":{"name":"doowb","email":"brian.woodward@gmail.com"},"dist":{"shasum":"385ecf78b64ec918c42c6b48ef68be8cab10e862","size":2999,"noattachment":false,"key":"/format-people/-/format-people-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/format-people/download/format-people-0.1.0.tgz"},"maintainers":[{"name":"doowb","email":"brian.woodward@gmail.com"},{"name":"jonschlinkert","email":"github@sellside.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/format-people-0.1.0.tgz_1473440129581_0.1681469432078302"},"directories":{},"publish_time":1473440131111,"_cnpm_publish_time":1473440131111,"_hasShrinkwrap":false}},"readme":"# format-people [![NPM version](https://img.shields.io/npm/v/format-people.svg?style=flat)](https://www.npmjs.com/package/format-people) [![NPM monthly downloads](https://img.shields.io/npm/dm/format-people.svg?style=flat)](https://npmjs.org/package/format-people) [![NPM total downloads](https://img.shields.io/npm/dt/format-people.svg?style=flat)](https://npmjs.org/package/format-people) [![Linux Build Status](https://img.shields.io/travis/doowb/format-people.svg?style=flat&label=Travis)](https://travis-ci.org/doowb/format-people)\n\n> Format a list of authors, contributors, or collaborators.\n\nPlease consider following this project's author, [Brian Woodward](https://github.com/doowb), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save format-people\n```\n\n## Usage\n\nRequires Node.js v8.0 or higher.\n\n```js\nconst format = require('format-people');\n```\n\n## API\n\n**Params**\n\n* `arr` **{Array}**: Array of people objects.\n* `format` **{String}**: The format \"type\" to use. Valid types are `table`, `list` and `aligned`. If no type is passed, `table` will be used automatically.\n* `returns` **{String}**: Formatted\n\n**Example**\n\n```js\nconst people = [ { name: 'Brian Woodward' } ];\nconst table = format(people, 'table');\nconsole.log(table);\n```\n\n### [.table](index.js#L41)\n\nReturns the array of people formatted as a markdown table.\n\n**Params**\n\n* `arr` **{Array}**: Array of people to format.\n* `returns` **{String}**: Markdown table\n\n**Example**\n\n```js\nconst people = [\n  { login: 'doowb', contributions: 100, html_url: 'https://github.com/doowb' },\n  { login: 'jonschlinkert', contributions: 50, html_url: 'https://github.com/jonschlinkert' }\n];\nconsole.log(format.table(people));\n//=> | **Commits** | **Contributor**<br/> |\n//=> | --- | --- |\n//=> | 100 | [doowb](https://github.com/doowb) |\n//=> | 50 | [jonschlinkert](https://github.com/jonschlinkert) |\n```\n\n### [.list](index.js#L84)\n\nReturns the array of people formatted as a markdown list.\n\n**Params**\n\n* `arr` **{Array}**: Array of people to format.\n* `returns` **{String}**: Markdown list\n\n**Example**\n\n```js\nconst people = [\n  { login: 'doowb', contributions: 100, html_url: 'https://github.com/doowb' },\n  { login: 'jonschlinkert', contributions: 50, html_url: 'https://github.com/jonschlinkert' }\n];\nconsole.log(format.list(people));\n//=> **Commits** / **Contributor**\n//=> + 100 [doowb](https://github.com/doowb)\n//=> + 50 [jonschlinkert](https://github.com/jonschlinkert)\n```\n\n### [.aligned](index.js#L124)\n\nReturns the array of people formatted as a GitHub Flavored Markdown fenced code block, with aligned columns.\n\n**Params**\n\n* `arr` **{Array}**: Array of people to format.\n* `returns` **{String}**: Markdown code block with aligned columns.\n\n**Example**\n\n```js\nconst people = [\n  { login: 'doowb', contributions: 100, html_url: 'https://github.com/doowb' },\n  { login: 'jonschlinkert', contributions: 50, html_url: 'https://github.com/jonschlinkert' }\n];\nconsole.log(format.aligned(people));\n//=> COMMITS / CONTRIBUTOR\n//=> ------- | -----------\n//=> 100      doowb\n//=> 50      jonschlinkert\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\nPlease read the [contributing guide](.github/contributing.md) for advice on opening issues, pull requests, and coding standards.\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\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</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\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</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [github-base](https://www.npmjs.com/package/github-base): Low-level methods for working with the GitHub API in node.js/JavaScript. | [homepage](https://github.com/jonschlinkert/github-base \"Low-level methods for working with the GitHub API in node.js/JavaScript.\")\n* [github-contributors](https://www.npmjs.com/package/github-contributors): Generate a markdown or JSON list of contributors for a project using the GitHub API. | [homepage](https://github.com/jonschlinkert/github-contributors \"Generate a markdown or JSON list of contributors for a project using the GitHub API.\")\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 11 | [doowb](https://github.com/doowb) |\n| 8 | [jonschlinkert](https://github.com/jonschlinkert) |\n\n### Author\n\n**Brian Woodward**\n\n* [GitHub Profile](https://github.com/doowb)\n* [Twitter Profile](https://twitter.com/doowb)\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n\n### License\n\nCopyright © 2018, [Brian Woodward](https://github.com/doowb).\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.6.0, on August 14, 2018._","_attachments":{},"homepage":"https://github.com/doowb/format-people","bugs":{"url":"https://github.com/doowb/format-people/issues"},"license":"MIT"}