{"_id":"humanize-list","_rev":"296369","name":"humanize-list","description":"Comma delimit an array for human readability, the Oxford comma is optional.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"time":{"modified":"2021-06-03T18:58:18.000Z","created":"2015-04-07T18:14:41.273Z","1.0.1":"2015-12-18T06:31:14.137Z","1.0.0":"2015-06-23T19:56:05.463Z","0.0.1":"2015-04-07T18:14:41.273Z"},"users":{"moimikey":true},"author":{"name":"John Otander"},"repository":{"type":"git","url":"git+https://github.com/johnotander/humanize-list.git"},"versions":{"1.0.1":{"name":"humanize-list","description":"Comma delimit an array for human readability, the Oxford comma is optional.","author":{"name":"John Otander"},"version":"1.0.1","license":"MIT","main":"index.js","directories":{"test":"test"},"scripts":{"test":"ava"},"repository":{"type":"git","url":"git+https://github.com/johnotander/humanize-list.git"},"keywords":["humanize","array","list","format","comma","delimit","oxford"],"dependencies":{},"devDependencies":{"ava":"^0.8.0"},"gitHead":"c15b1dbe059343392414241b6c4cd3cc10e06aed","bugs":{"url":"https://github.com/johnotander/humanize-list/issues"},"homepage":"https://github.com/johnotander/humanize-list#readme","_id":"humanize-list@1.0.1","_shasum":"e7e719c60a5d5848e8e0a5ed5f0a885496c239fd","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.9","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"dist":{"shasum":"e7e719c60a5d5848e8e0a5ed5f0a885496c239fd","size":2576,"noattachment":false,"key":"/humanize-list/-/humanize-list-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/humanize-list/download/humanize-list-1.0.1.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"publish_time":1450420274137,"_cnpm_publish_time":1450420274137,"_hasShrinkwrap":false},"1.0.0":{"name":"humanize-list","description":"Comma delimit an array for human readability, the Oxford comma is optional.","author":{"name":"John Otander"},"version":"1.0.0","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test","hint":"jshint . --exclude-path=node_modules"},"repository":{"type":"git","url":"git+https://github.com/johnotander/humanize-list.git"},"keywords":["humanize","array","list","format","comma","delimit","oxford"],"license":"MIT","bugs":{"url":"https://github.com/johnotander/humanize-list/issues"},"homepage":"https://github.com/johnotander/humanize-list","dependencies":{},"devDependencies":{"mocha":"*"},"gitHead":"93f2bdf0f51b02eb3184f118201e63475fe8ffa7","_id":"humanize-list@1.0.0","_shasum":"1e3759ef4dc757106adb12aa74f00772cbcb0755","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"dist":{"shasum":"1e3759ef4dc757106adb12aa74f00772cbcb0755","size":2651,"noattachment":false,"key":"/humanize-list/-/humanize-list-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/humanize-list/download/humanize-list-1.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"publish_time":1435089365463,"_cnpm_publish_time":1435089365463,"_hasShrinkwrap":false},"0.0.1":{"name":"humanize-list","description":"Comma delimit an array for human readability, the Oxford comma is optional.","author":{"name":"John Otander"},"version":"0.0.1","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha test","hint":"jshint . --exclude-path=node_modules"},"repository":{"type":"git","url":"https://github.com/johnotander/humanize-list.git"},"keywords":["humanize","array","list","format","comma","delimit","oxford"],"license":"MIT","bugs":{"url":"https://github.com/johnotander/humanize-list/issues"},"homepage":"https://github.com/johnotander/humanize-list","dependencies":{},"devDependencies":{"mocha":"*"},"gitHead":"8fd8e48bde08d85fd73b389cbda427594f944db8","_id":"humanize-list@0.0.1","_shasum":"b0644a0919e8d0b6762baa855eb18fbfd02b565c","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.10.35","_npmUser":{"name":"johno","email":"johnotander@gmail.com"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"}],"dist":{"shasum":"b0644a0919e8d0b6762baa855eb18fbfd02b565c","size":2632,"noattachment":false,"key":"/humanize-list/-/humanize-list-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/humanize-list/download/humanize-list-0.0.1.tgz"},"publish_time":1428430481273,"_cnpm_publish_time":1428430481273,"_hasShrinkwrap":false}},"readme":"# humanize-list [![Build Status](https://secure.travis-ci.org/johnotander/humanize-list.png?branch=master)](https://travis-ci.org/johnotander/humanize-list)\n\nComma delimit an array for human readability, the Oxford comma is optional.\n\n## Installation\n\n```bash\nnpm install --save humanize-list\n```\n\n## Usage\n\n```javascript\nvar humanizeList = require('humanize-list')\n\nhumanizeList(['apples', 'tomatoes', 'unicorns']) // => 'apples, tomatoes and unicorns'\nhumanizeList(['apples', 'tomatoes', 'unicorns'], { oxfordComma: true }) // => 'apples, tomatoes, and unicorns'\nhumanizeList(['apples', 'tomatoes', 'unicorns'], { conjunction: 'or' }) // => 'apples, tomatoes or unicorns'\nhumanizeList(['apples', 'tomatoes', 'unicorns'], { skipConjunction: true }) // => 'apples, tomatoes, unicorns'\n```\n\n### Options\n\n- `oxfordComma` Boolean - Specify whether the Oxford comma should be included. Default: `false`\n- `conjunction` String - Specify a conjunction. Default: `'and'`\n- `skipConjunction` Boolean - Skip the conjunction altogether. Default: `false`\n\n## License\n\nMIT\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\nCrafted with <3 by John Otander ([@4lpine](https://twitter.com/4lpine)).\n\n***\n\n> This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n","_attachments":{},"homepage":"https://github.com/johnotander/humanize-list#readme","bugs":{"url":"https://github.com/johnotander/humanize-list/issues"},"license":"MIT"}