New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

easy-random.js

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-random.js

easy-random.js est un module NPM simplifiant la génération de nombre aléatoire.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Serveur Discord Version NPM Téléchargements NPM

Informations NPM

À propos

easy-random.js est un module NPM simplifiant la génération de nombre aléatoire.

  • Simple d'utilisation
  • Utile
  • Rapide mise en place

Installation

npm install easy-random.js

Exemple d'utilisation

const Random = require("easy-random.js");

console.log(Random.round(0, 5)) // -> 0 | 1 | 2 | 3 | 4 | 5
console.log(Random.round(2, 7) // -> 2 | 3 | 4 | 5 | 6 | 7

Méthodes

MéthodeDescriptionRetourne
.round()Génère un nombre entier aléatoireNumber

Arguments

MéthodeArgumentObligatoire
.round(min, max)Number, NumberOui

Liens

Keywords

random

FAQs

Package last updated on 11 Aug 2020

Did you know?

Socket

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