Skip to content

Commit 1f1d6f0

Browse files
committed
Document exports
1 parent 35fe7bc commit 1f1d6f0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/randomstring.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,22 @@ limitations under the License.
1717

1818
import { encodeUnpaddedBase64Url } from "./base64.ts";
1919

20+
/**
21+
* String representing the lowercase latin alphabet for use in secureRandomStringFrom
22+
* (can be combined with other such exports or other characters by appending strings)
23+
*/
2024
export const LOWERCASE = "abcdefghijklmnopqrstuvwxyz";
25+
26+
/**
27+
* String representing the uppercase latin alphabet for use in secureRandomStringFrom
28+
* (can be combined with other such exports or other characters by appending strings)
29+
*/
2130
export const UPPERCASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
31+
32+
/**
33+
* String representing the arabic numerals for use in secureRandomStringFrom
34+
* (can be combined with other such exports or other characters by appending strings)
35+
*/
2236
export const DIGITS = "0123456789";
2337

2438
export function secureRandomBase64Url(len: number): string {

0 commit comments

Comments
 (0)