{"id":15502996,"url":"https://github.com/johno/humanize-list","last_synced_at":"2025-04-22T23:21:25.892Z","repository":{"id":30009944,"uuid":"33558071","full_name":"johno/humanize-list","owner":"johno","description":"Comma delimit an array for human readability. The Oxford comma is optional.","archived":false,"fork":false,"pushed_at":"2015-12-18T06:31:08.000Z","size":9,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T17:30:29.244Z","etag":null,"topics":[],"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/johno.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-07T17:32:13.000Z","updated_at":"2022-06-22T04:22:50.000Z","dependencies_parsed_at":"2022-08-03T13:30:33.120Z","dependency_job_id":null,"html_url":"https://github.com/johno/humanize-list","commit_stats":null,"previous_names":["johnotander/humanize-list"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fhumanize-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fhumanize-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fhumanize-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johno%2Fhumanize-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johno","download_url":"https://codeload.github.com/johno/humanize-list/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250338491,"owners_count":21414196,"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":[],"created_at":"2024-10-02T09:11:48.107Z","updated_at":"2025-04-22T23:21:25.873Z","avatar_url":"https://github.com/johno.png","language":"JavaScript","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']) // =\u003e 'apples, tomatoes and unicorns'\nhumanizeList(['apples', 'tomatoes', 'unicorns'], { oxfordComma: true }) // =\u003e 'apples, tomatoes, and unicorns'\nhumanizeList(['apples', 'tomatoes', 'unicorns'], { conjunction: 'or' }) // =\u003e 'apples, tomatoes or unicorns'\nhumanizeList(['apples', 'tomatoes', 'unicorns'], { skipConjunction: true }) // =\u003e '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 \u003c3 by John Otander ([@4lpine](https://twitter.com/4lpine)).\n\n***\n\n\u003e This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fhumanize-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohno%2Fhumanize-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohno%2Fhumanize-list/lists"}