Socket
Socket
Sign inDemoInstall

yow

Package Overview
Dependencies
2
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.81 to 1.0.82

2

package.json
{
"name": "yow",
"version": "1.0.81",
"version": "1.0.82",
"description": "You Only Wish module",

@@ -5,0 +5,0 @@ "main": "yow.js",

@@ -36,5 +36,10 @@

if (isFloat(arg)) {
return Math.random() * arg;
}
if (isObject(arg)) {
return arg[choose(Object.keys(arg))];
}
}

@@ -41,0 +46,0 @@

@@ -72,2 +72,3 @@ # Yow

- **random(integer)** - Returns a random number from 0 to the integer specified (exclusive).
- **random(float)** - Returns a random number from 0 to the float number specified (exclusive).
- **random(min, max)** - Returns a random number from min to max (inclusive).

@@ -74,0 +75,0 @@ - **random(array)** - Returns a randomly chosen object in the specified array.

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