JSPM

number-extrarandom-cli

1.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q37831F
  • License ISC

extra random number

Package Exports

  • number-extrarandom-cli
  • number-extrarandom-cli/app.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (number-extrarandom-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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