This function filters environment variables that start with the specified prefix, Parses environment variables that start with a given prefix.
The prefix to filter environment variables.
An object containing arrays of keys and values.
const envVars = ParseEnvKeys("AI_TOKEN_");console.log(envVars.keys); // ['AI_TOKEN_KEY']console.log(envVars.values); // ['your_token_value'] Copy
const envVars = ParseEnvKeys("AI_TOKEN_");console.log(envVars.keys); // ['AI_TOKEN_KEY']console.log(envVars.values); // ['your_token_value']
This function filters environment variables that start with the specified prefix, Parses environment variables that start with a given prefix.