Skip to content

BlobOptions

[<Interface>]
type BlobOptions =
    abstract member endings: Endings option with get, set
    abstract member type: string option with get, set
    static member Create (?endings: Endings, ?type: string) : BlobOptions
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Declared inside

Endings

Properties

abstract member endings: Endings option with get, set

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'.

abstract member type: string option with get, set

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.

Methods

static member Create (?endings: Endings, ?type: string) : BlobOptions