3.1.8 • Published 3 years ago

@tomsd/rand v3.1.8

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

@tomsd/rand

functions returning random values

npm NPM npms.io (quality) Libraries.io dependency status for latest release Maintenance

Installation

npm install @tomsd/rand

Usage

import { Rand } from "@tomsd/rand";
console.log(Rand.char()); // one character that is between a and z

console.log(Rand.str()); // 5 character string

const length_wanted = 8;
console.log(rand.str(length_wanted).length); // 8

console.log(rand.id()); // random string

const prefix_str = "abc";
console.log(rand.id(prefix_str)); // prefixed
3.1.8

3 years ago

3.1.7

3 years ago

3.1.3

3 years ago

3.1.2

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.1.5

3 years ago

3.1.4

3 years ago

3.0.0

5 years ago

2.0.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.1.2

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.2

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago