Skip to main content

Function: hashUrl()

hashUrl(url): string

Hash a URL to create a safe filename.

Parameters

url

string

The URL to hash.

Returns

string

A hashed filename safe for the filesystem.