Skip to content

API reference / @jsprismarine/native-worldgen / install

install ​

Functions ​

installBuild() ​

installBuild(options): Promise<InstallOutcome>

Defined in: install.ts:11

Downloads the build for this machine into the package, once, and checks its SHA-256 against the manifest. It is what the package's postinstall runs; loading the library never downloads.

Parameters ​

options ​

InstallOptions

The package and, for tests, the platform, environment and network.

Returns ​

Promise<InstallOutcome>

What it did.