# merge-and-concat

> Merge objects and concatenating arrays inside them

Latest version **1.0.2** (published 2016-04-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install merge-and-concat
pnpm add merge-and-concat
yarn add merge-and-concat
bun add merge-and-concat
```

## 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.2 |
| Published | 2016-04-27 |
| First published | 2015-10-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Vladimir Starkov |
| Maintainers | iamstarkov |
| Keywords | merge, concat, object, objects, array, arrays |

## Links

- npm: https://www.npmjs.com/package/merge-and-concat
- Repository: https://github.com/iamstarkov/merge-and-concat
- Homepage: https://github.com/iamstarkov/merge-and-concat#readme
- Issues: https://github.com/iamstarkov/merge-and-concat/issues
- npm.io page: https://npm.io/package/merge-and-concat

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.11.1

## Recent versions

- 1.0.2 (latest) — 2016-04-27
- 0.0.1 — 2016-04-27
- 1.0.1 — 2016-04-27
- 1.0.0 — 2015-10-13

## README

# merge-and-concat

[![NPM version][npm-image]][npm-url]
[![Unix Build Status][travis-image]][travis-url]
[![Windows Build Status][appveyor-image]][appveyor-url]
[![Coveralls Status][coveralls-image]][coveralls-url]
[![Dependency Status][depstat-image]][depstat-url]

> Merge objects and concatenating arrays inside them

## Install

    npm install --save merge-and-concat

## Usage

```js
import mergeAndConcat from 'merge-and-concat';

mergeAndConcat(
  { hey: 'hey', list: [1, 2] },
  { ho: 'ho', list: [3, 4] },
  { uni: 'corns' }
); // { hey: 'hey', ho: 'ho', uni: 'corns', list: [1, 2, 3, 4] }

// removing dupes
mergeAndConcat(
  { after_script: ['npm run coverage'] },
  { after_script: ['npm run coverage'] }
); // { after_script: ['npm run coverage'] }
```

## API

### mergeAndConcat(...objects)

#### objects

*Required*  
Type: each item is `Object`

Set of objects

## License

MIT © [Vladimir Starkov](https://iamstarkov.com)

[npm-url]: https://npmjs.org/package/merge-and-concat
[npm-image]: https://img.shields.io/npm/v/merge-and-concat.svg?style=flat-square

[travis-url]: https://travis-ci.org/iamstarkov/merge-and-concat
[travis-image]: https://img.shields.io/travis/iamstarkov/merge-and-concat.svg?style=flat-square&label=unix

[appveyor-url]: https://ci.appveyor.com/project/iamstarkov/merge-and-concat
[appveyor-image]: https://img.shields.io/appveyor/ci/iamstarkov/merge-and-concat.svg?style=flat-square&label=windows

[coveralls-url]: https://coveralls.io/r/iamstarkov/merge-and-concat
[coveralls-image]: https://img.shields.io/coveralls/iamstarkov/merge-and-concat.svg?style=flat-square

[depstat-url]: https://david-dm.org/iamstarkov/merge-and-concat
[depstat-image]: https://david-dm.org/iamstarkov/merge-and-concat.svg?style=flat-square

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