Skip to content

Latest commit

 

History

History

doamrn

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

doamrn

Retrieve a random item from the arguments

const random = require('doamrn');

random(1, 2, 3, 'string', new Object(), null) // any one of them

Transpiled version

Environments which exclude node_modules from the transpiling pipeline should include the "browser" entry instead of "main". This exposes an ES5 commonjs module.

Also available for explicit import:

const doamrn = require('doamrn/dist');