array-unite

Easily merge arrays.

Usage no npm install needed!

<script type="module">
  import arrayUnite from 'https://cdn.skypack.dev/array-unite';
</script>

README

unite

Easily merge arrays.

Installation

Install with npm:

$ npm install --save array-unite

Install with component(1):

$ component install marcusandre/unite

API

Merge some arrays into on array:

var unite = require('unite');
var arr = unite(['2', '4', '8'], ['b', 'd', 'h']);
// ['2', '4', '8', 'b', 'd', 'h']

License

MIT