+1
-1
| { | ||
| "name": "hexid", | ||
| "version": "1.0.2", | ||
| "version": "1.0.3", | ||
| "description": "Generates random hex string", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
+6
-2
@@ -7,6 +7,10 @@ # hexid | ||
| - Defaults to 16 bytes | ||
| - Asynchronous. Returns a Promise | ||
| ``` | ||
| const hexid = require('hexid'); | ||
| const hex = hexid(); // defaults to 16 bytes | ||
| const hex2 = hexid(32); | ||
| const hex = await hexid(); // dc56f142fb58017ad74504b11df02416 | ||
| const hex2 = await hexid(32); | ||
| ``` |
900
10.16%15
36.36%