• Upload content to the hastebin we use.

    Parameters

    • content: string

      The content to upload.

    • userAgent: string

      The user agent to use.

    • type: string = "md"

      The file type to append to the end of the haste.

    • url: string = "https://hst.sh"

      A non-standard url to upload to

    Returns Promise<null | string>

    The URL to the uploaded content.