Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bubblxs/get-any


https://github.com/bubblxs/get-any

javascript npm-package npmjs

Last synced: 25 days ago
JSON representation

Awesome Lists containing this project

README

        

get any

> get a random item from an array.

### install

```
npm install get-any
```

### usage

```js
import "get-any"

const arr = [1, 2, 3, 4];

console.log(arr.getAny()); // 3
```