Skip to main content

mimeType

Generate a random MIME-type string.

fileExtension

Generate a random file extension type string.

file

Copy a random file from the source directory to the target directory and return the filename / relative path.