get-randomly
1.0.0 • Public • Published get-randomly-js
Function for get randomly items for a iterator.
Installation
Via npm: npm i get-randomly
.
Usage
Simple example:
const getRandomly = require('get-randomly')
const arr = [true, 'foo', function(){}]
const randomItem = getRandomly(arr)
Test
For test this package execute: npm run test
.
License
MIT
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.0
1
Version History
- VersionDownloads (Last 7 Days)
- 1.0.0
1
Package Sidebar
Install
Weekly Downloads