# intersperse

> Add an object to an array between each element

Latest version **1.0.0** (published 2013-08-23) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2013-08-23 |
| First published | 2013-08-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/intersperse) |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Glen Huang |
| Maintainers | curvedmark |
| Keywords | array, util, utility |

## Links

- npm: https://www.npmjs.com/package/intersperse
- Repository: https://github.com/curvedmark/intersperse
- Issues: https://github.com/curvedmark/intersperse/issues
- npm.io page: https://npm.io/package/intersperse

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2013-08-23

## README

# intersperse

Add an object to an array between each element.


## Installation

	npm install intersperse

## Example

```javascript
var intersperse = require('intersperse');
var arr = intersperse([1, 2, 3], 'a');

console.log(arr) // [1, 'a', 2, 'a', 3]
```

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