@techmely/utils
Version:
Collection of helpful JavaScript / TypeScript utils
34 lines (29 loc) • 577 B
JavaScript
/*!
* @techmely/utils
* Copyright(c) 2021-2024 Techmely <techmely.creation@gmail.com>
* MIT Licensed
*/
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
};