UNPKG

@techmely/utils

Version:

Collection of helpful JavaScript / TypeScript utils

23 lines (20 loc) 463 B
import { envShims } from './chunk-UIBCAP7L.mjs'; // src/process.ts var _process = globalThis.process || /* @__PURE__ */ Object.create(null); var processShims = { versions: {} }; var globProcess = new Proxy(_process, { get(target, prop) { if (prop === "env") { return envShims(); } if (prop in target) { return target[prop]; } if (prop in processShims) { return processShims[prop]; } } }); export { globProcess };