3.3.2 • Published 1 year ago
hgdfhjvysger v3.3.2
hgdfhjvysger
A library to generate pseudo-random values.
Installation
npm:
npm install hgdfhjvysger
html / vanilla js:
<!-- jsdelivr -->
<script src="https://cdn.jsdelivr.net/npm/hgdfhjvysger"></script>
<!-- unpkg -->
<script src="https://unpkg.com/hgdfhjvysger"></script>
Example
const random = require("hgdfhjvysger");
random.string(5, "abcde"); // returns string with 5 random characters from 'abcde'
random.fromArray([1, 2, 3, 4, 5]); // returns random value from [1, 2, 3, 4, 5]
random.number(5); // returns random number between 0 and 5 (inclusive)
random.color.hex(); // returns a random hex color in css
random.coin(); // returns 'heads' or 'tails'
Links
- Github
- Discord: sertdfyguhi#5971
Changelog
https://github.com/sertdfyguhi/hgdfhjvysger/blob/main/CHANGELOG.md
3.3.1
1 year ago
3.3.2
1 year ago
3.3.0
1 year ago
3.2.0
2 years ago
3.1.1
3 years ago
3.1.0
3 years ago
3.0.1
3 years ago
3.0.0
3 years ago
2.4.1
4 years ago
2.4.3
4 years ago
2.4.2
4 years ago
2.4.5
4 years ago
2.4.4
4 years ago
2.4.0
4 years ago
2.3.0
4 years ago
2.3.1
4 years ago
2.2.0
4 years ago
2.1.0
4 years ago
2.0.0
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago