randdit

2.0.1 • Public • Published

RandIt

Discord

Github

RandIt is a npm package that is full of randomizing things. For now it only has few things. But I'm working on adding more. Go to All Variables to see how you can use this package and what its uses are.

Usage

Getting Started

Okay so you wanna get started! So there are some easy steps to get started. First you should require the package;

const r = reqiure("RanddIt");

Then, you are free to use any of our variables! For example:

const r = require("RanddIt");
 
console.log(r.n(1, 200000));

This will pick a random number from 1-200000. You could replace 1, 200000 with 2401, 69134 or anything!

All Variables

r.aan(): Picks a random name like authoritarian-hare-82

r.n(string, string1);: Picks random from 2 strings. Example: r.n(1, 100); will pick a number 1-100

r.j(): Gives a random joke! Jokes are still being added as there are few jokes.

r.tN(): It will pick a number from 10000-99999 for thinks like links like bit.ly/18231, etc.

r.in(20);: It test for a number. If it is a number it will say true;if it is not a number it will say false. In this instance it will say true.

r.ask(string): It's basically an 8 ball and will output a yes or no answer. It has to be a yes or no question.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.1
    2
    • latest

Version History

Package Sidebar

Install

npm i randdit

Weekly Downloads

2

Version

2.0.1

License

MIT

Unpacked Size

27.8 kB

Total Files

10

Last publish

Collaborators

  • masontrv