# andlist

> Turns an array of strings into a friendly delimited string separated by commas and an "and".

Latest version **1.2.0** (published 2022-05-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install andlist
pnpm add andlist
yarn add andlist
bun add andlist
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2022-05-02 |
| First published | 2017-06-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Sebastián Cruz |
| Maintainers | sebacruz |
| Keywords | lists |

## Links

- npm: https://www.npmjs.com/package/andlist
- Repository: https://github.com/sebacruz/andlist
- Homepage: https://github.com/sebacruz/andlist#readme
- Issues: https://github.com/sebacruz/andlist/issues
- npm.io page: https://npm.io/package/andlist

## Recent versions

- 1.2.0 (latest) — 2022-05-02
- 1.1.2 — 2017-06-07

## README

# andlist

Turns an array of strings into a friendly delimited string separated by commas and an "and".

## Install

```
$ npm install andlist
```

## Example

``` js
const andlist = require('andlist');
const arr = ['one', 'two', 'three', 'four'];

console.log(andlist(arr, ', ', ' and '));
```

```
$ node example/basic.js
one, two, three and four
```

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