Functions
Runtimes and Dependencies
Supported execution runtimes and package managers
Runtimes
The following runtimes are supported:
To select your preferred runtime ensure the following configuration is present in your nhost.toml
file:
Package Managers
For Node.js, the following package managers are supported:
To use one package manager or another, add the relevant lockfile (either package-lock.json
for npm, yarn.lock
for yarn or pnpm-lock.yaml
for pnpm
) to the functions folder or a parent folder. If multiple lockfiles are present, preference order is npm
> pnpm
> yarn
.