Coder Social home page Coder Social logo

ultirequiem / random_number Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 3.0 56 KB

๐ŸŽก Get a random number.

Home Page: https://ulti.js.org/random_number

License: MIT License

TypeScript 100.00%
random random-number-generators random-numbers deno typescript rest-api cli-tool javascript

random_number's Introduction

Random Number

Code Coverage Deno Doc

Get a random number.

Usage

Deno ๐Ÿฆ•

import { randomNumber } from "https://deno.land/x/random_number/mod.ts";

randomNumber(); //=> 1 ... 100
randomNumber({ min: 10 }); //=> 10 ... 100
randomNumber({ min: 235, max: 239 }); //=> 235 ... 239
randomNumber({ integer: false }); //=> 0 ... 0.9

Node.js ๐Ÿข

import { randomNumber } from "@ultirequiem/random-number";

Browser

You can use any CDN ๐Ÿ”ฅ

Eg. ESM โ–ถ SkyPack / script tag โ–ถ JSDelivr.

The API is the same on all this platforms.

Documentation

Is hosted on Deno Doc ๐Ÿ“„

CLI

Install

  • Deno ๐ŸŽƒ
deno install https://deno.land/x/random_number/rnd.ts
  • Node.js ๐Ÿผ
npm install -g @ultirequiem/random-number

Usage

rnd --help

A binary for multiple platforms is provided too!

Support

Open an Issue, I will check it a soon as possible ๐Ÿ‘€

If you want to hurry me up a bit send me a tweet ๐Ÿ˜†

Consider supporting me on Patreon if you like my work ๐Ÿš€

Don't forget to star the repo โญ

Versioning

We use SemVer for versioning. For the versions available, see the tags.

Authors

Eliaz Bobadilla (a.k.a UltiRequiem) - Creator and Maintainer ๐Ÿ’ช

See also the full list of contributors who participated in this project.

Licence

Licensed under the MIT License.

random_number's People

Contributors

ultirequiem avatar web-flow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

random_number's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.