# oxford-comma-join

> Convert a list of strings into a single Oxford comma separated string

Latest version **1.0.0** (published 2020-01-27) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install oxford-comma-join
pnpm add oxford-comma-join
yarn add oxford-comma-join
bun add oxford-comma-join
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-01-27 |
| First published | 2020-01-27 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 19.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Sudipta Chatterjee |
| Maintainers | google-wombot |
| Keywords | oxford, string, comma |

## Links

- npm: https://www.npmjs.com/package/oxford-comma-join
- Repository: https://github.com/sudiptachatterjee/oxford-comma-join
- Homepage: https://github.com/sudiptachatterjee/oxford-comma-join#readme
- Issues: https://github.com/sudiptachatterjee/oxford-comma-join/issues
- npm.io page: https://npm.io/package/oxford-comma-join

## Dependencies (1)

- [mocha](https://npm.io/package/mocha.md) ^7.0.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-01-27

## README

# Oxford Comma Join

Easily convert your list of string values into a grammatically correct
string. So if your list looks like ["milk", "eggs", "bread", "toilet paper"],
then you can directly add it to an output as a single string:
"milk, eggs, bread, and toilet paper".

## Usage
```
const oxfordJoin = require(`oxford-comma-join`);
console.log(oxfordJoin([`one`, `two`, `three`, `four`]));
// "one, two, three, and four"
```

## Examples
```
const oxfordJoin = require(`oxford-comma-join`);
console.log(oxfordJoin([`one`, `two`, `three`, `four`]));
// "one, two, three, and four"

console.log(oxfordJoin([`one`, `two`]));
// "one and two"
```

---
_Source: https://npm.io/package/oxford-comma-join · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
