Downloads a set file using fetch internally
The url of the file you want to download
Optional chk: { The file check
Optional sha1?: string | string[]Optional size?: numberOptional opt: { Optional noOptional onOptional signal?: AbortSignalthis object to allow for chaining
Creates a system link to a set file or directory using this file or folder as the the placeholder for the link (similar to linkTo)
Creates a system link to this file and puts the link at the destination file that was provided as input (similar to linkFrom)
Loads a json object from the file system and adds some shortcut functions to make it easier to save.
Optional serializer: ((raw) => T)Checks if an expected hash matches with this object. (@see getHash)
Checks if the size value given matches with this object. (@see getSize)
Does the same as the sysPath function
Turns an object into a wrappedObj. Essentially this just adds functions to make it easier to save.
Static tmpdirGenerated using TypeDoc
Returns true if the file matches what is expected.