@orodio/interleave

0.0.4 • Public • Published

@orodio/interleave

Build Status

Install

yarn add @orodio/interleave

Use

import { interleave } from '@orodio/interleave'

const arr1 = [1, 2, 3, 4, 5]
const arr2 = ["a", "b", "c", "d"]

const arr3 = interleave(arr1, arr2)
const arr4 = [1, "a", 2, "b", 3, "c", 4, "d", 5]

assert(arr3, arr4)

Readme

Keywords

none

Package Sidebar

Install

npm i @orodio/interleave

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • orodio