0.2.4 • Published 2 years ago

@selrond/knit v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

knit

Insert an item between array elements

npm bundle size NPM

Insert an item between array elements

Installation

npm i @selrond/knit

Usage

Using ES Modules:

import { knit } from '@selrond/knit'

knit([1,2,3], '🎉') // [ 1, '🎉', 2, '🎉', 3 ]

Using CommonJS:

const { knit } = require('@selrond/knit')

knit([1,2,3], '🎉') // [ 1, '🎉', 2, '🎉', 3 ]
0.2.4

2 years ago

0.2.3

4 years ago

0.2.1

4 years ago

0.2.2

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago