UNPKG

@fastly/js-compute

Version:

JavaScript SDK and CLI for building JavaScript applications on [Fastly Compute](https://www.fastly.com/products/edge-compute/serverless).

16 lines (15 loc) 494 B
export declare class EnvParser { env: Record<string, string>; constructor(); /** * Parse environment variables string, which can be either KEY=VALUE pairs * or names of environment variables to inherit * @param {string} value - The environment variable string to parse */ parse(value: string): void; /** * Get the parsed environment variables * @returns {Object} The environment variables object */ getEnv(): Record<string, string>; }