astro-ghostcms/.pnpm-store/v3/files/91/7008bedb44f9cb1ee2eb7659b82...

19 lines
313 B
Plaintext

---
labels: ['configuration']
description: 'A function for repacing env variables in configuration settings'
---
API:
```ts
function envReplace(settingValue: string, env: NodeJS.ProcessEnv): string;
```
Usage:
```ts
import { envReplace } from '@pnpm/config.env-replace'
envReplace('${foo}', process.env)
```