Home > harper.js > BinaryModule > create

BinaryModule.create() method

Load a binary from a specified URL. This is the only recommended way to construct this type.

Signature:

static create(url: string | URL): BinaryModule;

Parameters

Parameter

Type

Description

url

string | URL

Returns:

BinaryModule