1.0.0 • Published 7 years ago
get-randomly v1.0.0
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
1.0.0
7 years ago