MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / getProcessEnvironmentVariable

Function getProcessEnvironmentVariable

desktop/user-data-path.ts:4–6  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

2import path from 'node:path'
3
4function getProcessEnvironmentVariable(name: string) {
5 return process.env[name]
6}
7
8let cachedUserDataPath: string | null = null
9

Callers 2

getDesktopUserDataPathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected