This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
/** | |
* Hypertext Transfer Protocol (HTTP) response status codes. | |
* @see {@link https://en.wikipedia.org/wiki/List_of_HTTP_status_codes} | |
*/ | |
enum HttpStatusCode { | |
/** | |
* The server has received the request headers and the client should proceed to send the request body |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const numbers = '0123456789'; | |
const specials = '`-=[]\\;\',./~!@#$%^&*()_+{}|:"<>?'; | |
const charsLower = 'abcdefghijklmnopqrstuvwxyz'; | |
const charsUpper = charsLower.toUpperCase(); | |
const alphabet = charsLower + charsUpper; | |
const alphaNumeric = numbers + alphabet; | |
const all = alphaNumeric + specials; | |
const random = { | |
numbers, |