Socket
Socket
Sign inDemoInstall

array-random

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    array-random

Randomize the elements in a given array.


Version published
Weekly downloads
4
Maintainers
1
Install size
2.97 kB
Created
Weekly downloads
 

Readme

Source

Array Random

Randomize the elements in a given array.

Installation

To get the latest version, simply run

npm install array-random --save

Usage


const random = require('array-random')

const array = [1,2,3,4,5,6,7,8,9]
const randomized = random(array) // [1,4,3,2,6,8,7,9,5]

Keywords

FAQs

Last updated on 14 Aug 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc