Runtimes
The following runtimes are supported: To select your preferred runtime ensure the following configuration is present in yournhost.toml file:
- Node.js 20
 - Node.js 22
 
Package Managers
For Node.js, the following package managers are supported: To use one package manager or another, add the relevant lockfile (eitherpackage-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.