Skip to main content
URL.revokeObjectURL - node__url.d.ts - Node documentation
method URL.revokeObjectURL
Unstable

Usage in Deno

```typescript import { URL } from "node:node__url.d.ts"; ```
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