Socket
Socket
Sign inDemoInstall

number-extrarandom-cli

Package Overview
Dependencies
13
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    number-extrarandom-cli

extra random number


Version published
Weekly downloads
75
decreased by-92.66%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

number-rand-cli

random number cli for every one

Why randn?

  • Clean and focused
  • CLI included
  • Actively maintained
  • Fast and reliable
  • Easy to get numbers

Install

$ npm install randn

Usage

const randn = require('randn');

console.log(randn());
//=> 315764787997033782716506419531

console.log(randn(5));
//=> 86773

API

rand()

Return a number with default value of 30

Return Type: string

rand(number)

Return an string with custom number

Return Type: string

CLI

Examples
	$ randn
	315764787997033782716506419531

	$ randn --number 5
	86773

	$ randn -n 23
	46379458263283978267360

	Options
	 -n, --number  Generate a number with certain length

Keywords

FAQs

Last updated on 04 Mar 2024

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc