# insert-at-index

> insert a value, or an array, into an array at an index

Latest version **0.0.2** (published 2017-04-03) · 0 weekly downloads

## Install

```sh
npm install insert-at-index
pnpm add insert-at-index
yarn add insert-at-index
bun add insert-at-index
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2017-04-03 |
| First published | 2017-04-03 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 30 |
| Author | James |
| Maintainers | aretecode |
| Keywords | array, insert, index, fliphub |

## Links

- npm: https://www.npmjs.com/package/insert-at-index
- Repository: https://github.com/fliphub/fliphub
- Homepage: https://github.com/fliphub/fliphub#readme
- Issues: https://github.com/fliphub/fliphub/issues
- npm.io page: https://npm.io/package/insert-at-index

## Recent versions

- 0.0.2 (latest) — 2017-04-03

## README

# [...🎯...] insert-at-index

[![NPM version][insert-at-index-npm-image]][insert-at-index-npm-url]
[![MIT License][license-image]][license-url]
[![fliphub][gitter-badge]][gitter-url]
[![flipfam][flipfam-image]][flipfam-url]

[insert-at-index-npm-image]: https://img.shields.io/npm/v/insert-at-index.svg
[insert-at-index-npm-url]: https://npmjs.org/package/insert-at-index
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat
[license-url]: https://spdx.org/licenses/MIT
[gitter-badge]: https://img.shields.io/gitter/room/fliphub/pink.svg
[gitter-url]: https://gitter.im/fliphub/Lobby
[flipfam-image]: https://img.shields.io/badge/%F0%9F%8F%97%20%F0%9F%92%A0-flipfam-9659F7.svg
[flipfam-url]: https://www.npmjs.com/package/flipfam

> insert a value, or an array, into an array at an index

## 📦 usage
```bash
yarn add insert-at-index
npm i insert-at-index --save
```

```js
const insertAt = require('insert-at-index')
```

## 📘 examples

```js
const list = [0, 1, 2, 3, 4]
const eh = ['canada', 'moose']

insertAt(list, 2, eh)

console.log(list)
```

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