#
getEnvironmentVariablesPlugin
Return an instance of EnvironmentVariablesPlugin from the list of plugins registered with a Runtime instance.
#
Reference
const plugin = getEnvironmentVariablesPlugin(runtime)
#
Parameters
runtime
: A runtime instance.
#
Returns
An EnvironmentVariablesPlugin
instance if the plugin has been registered, otherwise an Error
is thrown.
#
Usage
import { getEnvironmentVariablesPlugin } from "@squide/env-vars";
const plugin = getEnvironmentVariablesPlugin(runtime);