Skip to content

Commit 0640b9b

Browse files
authored
Update README.md
1 parent 1ec654c commit 0640b9b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ Provides easy-to-use functions to generate secure-random strings in Javascript
44
Uses [window.crypto if available (all modern browsers)](https://caniuse.com/#feat=cryptography) or falls back to a custom [ISAAC CSPRNG](http://rosettacode.org/wiki/The_ISAAC_Cipher) if it’s not available.
55

66
# Example Usage
7+
```
8+
<script src="js/ezrandom.js"></script>
9+
```
10+
711
```
812
console.log("Random string: " + randomString(16));
913
console.log("Random password: " + randomPassword(16));
1014
console.log("Random letters: " + randomAlpha(16));
1115
console.log("Random lowercase: " + randomAlphaLower(16));
12-
```
16+
```

0 commit comments

Comments
 (0)