array-insert-random
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

array-insert-random

Inserts items randomly into an array.

Usage

const arrayInsertRandom = require('array-insert-random')

arrayInsertRandom(array, items)

Parameters:

  • array - An array to insert into.
  • items - An object, or an array of objects, to insert into random positions in the array.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i array-insert-random

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

4.76 kB

Total Files

9

Last publish

Collaborators

  • seangenabe