Skip to main content
BlobOptions - buffer - Node documentation
interface BlobOptions
Unstable

Usage in Deno

import { type BlobOptions } from "node:buffer";

Properties

optional
endings: "transparent" | "native"

One of either 'transparent' or 'native'. When set to 'native', line endings in string source parts will be converted to the platform native line-ending as specified by import { EOL } from 'node:os'.

optional
type: string | undefined

The Blob content-type. The intent is for type to convey the MIME media type of the data, however no validation of the type format is performed.