get-randomly

1.0.0 • Public • Published

get-randomly-js

npm npm

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

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i get-randomly

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • rich-97