# util-pusher-x

> A simple pusher/concatenator utility.

Latest version **1.0.3** (published 2019-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install util-pusher-x
pnpm add util-pusher-x
yarn add util-pusher-x
bun add util-pusher-x
```

## 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.0.3 |
| Published | 2019-08-28 |
| First published | 2019-08-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=8.11.4 |
| Dependencies | 4 |
| Unpacked size | 54.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Graham Fairweather |
| Maintainers | xotic750 |
| Keywords | util, pusher, concatenator, module, javascript, nodejs, browser |

## Links

- npm: https://www.npmjs.com/package/util-pusher-x
- Repository: https://github.com/Xotic750/util-pusher-x
- Issues: https://github.com/Xotic750/util-pusher-x/issues
- npm.io page: https://npm.io/package/util-pusher-x

## Dependencies (4)

- [is-string](https://npm.io/package/is-string.md) ^1.0.4
- [is-primitive-x](https://npm.io/package/is-primitive-x.md) ^1.0.1
- [has-boxed-string-x](https://npm.io/package/has-boxed-string-x.md) ^2.1.1
- [has-working-bind-x](https://npm.io/package/has-working-bind-x.md) ^1.0.1

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2019-08-28
- 1.0.2 — 2019-08-20
- 1.0.1 — 2019-08-16
- 1.0.0 — 2019-08-16

## README

<a
  href="https://travis-ci.org/Xotic750/util-pusher-x"
  title="Travis status">
<img
  src="https://travis-ci.org/Xotic750/util-pusher-x.svg?branch=master"
  alt="Travis status" height="18">
</a>
<a
  href="https://david-dm.org/Xotic750/util-pusher-x"
  title="Dependency status">
<img src="https://david-dm.org/Xotic750/util-pusher-x/status.svg"
  alt="Dependency status" height="18"/>
</a>
<a
  href="https://david-dm.org/Xotic750/util-pusher-x?type=dev"
  title="devDependency status">
<img src="https://david-dm.org/Xotic750/util-pusher-x/dev-status.svg"
  alt="devDependency status" height="18"/>
</a>
<a
  href="https://badge.fury.io/js/util-pusher-x"
  title="npm version">
<img src="https://badge.fury.io/js/util-pusher-x.svg"
  alt="npm version" height="18">
</a>
<a
  href="https://www.jsdelivr.com/package/npm/util-pusher-x"
  title="jsDelivr hits">
<img src="https://data.jsdelivr.com/v1/package/npm/util-pusher-x/badge?style=rounded"
  alt="jsDelivr hits" height="18">
</a>
<a
  href="https://bettercodehub.com/results/Xotic750/util-pusher-x"
  title="bettercodehub score">
<img src="https://bettercodehub.com/edge/badge/Xotic750/util-pusher-x?branch=master"
  alt="bettercodehub score" height="18">
</a>
<a
  href="https://coveralls.io/github/Xotic750/util-pusher-x?branch=master"
  title="Coverage Status">
<img src="https://coveralls.io/repos/github/Xotic750/util-pusher-x/badge.svg?branch=master"
  alt="Coverage Status" height="18">
</a>

<a name="module_util-pusher-x"></a>

## util-pusher-x

This pushes or concatenates into a new or existing array.

<a name="exp_module_util-pusher-x--module.exports"></a>

### `module.exports` ⇒ <code>(arrayLike, [from], [target])</code> ⏏

This pushes or concatenates into a new or existing array.

**Kind**: Exported member

| Param     | Type                   | Description            |
| --------- | ---------------------- | ---------------------- |
| arrayLike | <code>ArrayLike</code> | The source.            |
| [from]    | <code>number</code>    | The from source index. |
| [target]  | <code>Array</code>     | The target array.      |

**Example**

```js
import pusher from 'util-pusher-x';

const x = [1, 2, 3];
console.log(pusher([4, 5, 6], 1, x)); // [1, 2, 3, 5, 6]
```

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