Skip to main content
URL.revokeObjectURL - url - Node documentation
method URL.revokeObjectURL
Unstable

Usage in Deno

import { URL } from "node:url";
URL.revokeObjectURL(id: string): void

Removes the stored Blob identified by the given ID. Attempting to revoke a ID that isn't registered will silently fail.

Parameters

id: string

A 'blob:nodedata:... URL string returned by a prior call to URL.createObjectURL().

Return Type

void
Back to top