Skip to content

Vibrant

Main class of node-vibrant.

new Vibrant(_src, opts?): Vibrant

ImageSource

Path to image file (supports HTTP/HTTPs)

Partial<Options>

Options (optional)

Vibrant

index.ts:43

opts: Options;

index.ts:36


static DefaultOpts: Partial<Options>;

index.ts:22

get result(): undefined | ProcessResult

undefined | ProcessResult

index.ts:32

getPalette(): Promise<Palette>

Promise<Palette>

index.ts:61


getPalettes(): Promise<{}>

Promise<{}>

index.ts:83


static from(src): Builder

ImageSource

Builder

index.ts:28


static use(pipeline): void

Pipeline

void

index.ts:18