Licence
MIT
Version
1.0.2
Deps
2
Size
5 kB
Vulns
0
Weekly
0
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