summaryrefslogtreecommitdiff
path: root/node_modules/locutus/php/info/getenv.js.map
diff options
context:
space:
mode:
authorMarvin Borner2018-11-07 18:02:36 +0100
committerMarvin Borner2018-11-07 18:02:36 +0100
commit824a2d9f587ca017fc71b84d835e72f54f9c87c4 (patch)
tree765267ea4686f752aad1f69930cfee5680cc494a /node_modules/locutus/php/info/getenv.js.map
parentfe75612e86b493a4e66c4e104e22658679cc014f (diff)
Began rewrite
Diffstat (limited to 'node_modules/locutus/php/info/getenv.js.map')
-rw-r--r--node_modules/locutus/php/info/getenv.js.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/locutus/php/info/getenv.js.map b/node_modules/locutus/php/info/getenv.js.map
new file mode 100644
index 0000000..5c877d3
--- /dev/null
+++ b/node_modules/locutus/php/info/getenv.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["../../../src/php/info/getenv.js"],"names":["module","exports","getenv","varname","process","env"],"mappings":";;AAAAA,OAAOC,OAAP,GAAiB,SAASC,MAAT,CAAiBC,OAAjB,EAA0B;AACzC;AACA;AACA;AACA;;AAEA,MAAI,OAAOC,OAAP,KAAmB,WAAnB,IAAkC,CAACA,QAAQC,GAA3C,IAAkD,CAACD,QAAQC,GAAR,CAAYF,OAAZ,CAAvD,EAA6E;AAC3E,WAAO,KAAP;AACD;;AAED,SAAOC,QAAQC,GAAR,CAAYF,OAAZ,CAAP;AACD,CAXD","file":"getenv.js","sourcesContent":["module.exports = function getenv (varname) {\n // discuss at: http://locutus.io/php/getenv/\n // original by: Brett Zamir (http://brett-zamir.me)\n // example 1: getenv('LC_ALL')\n // returns 1: false\n\n if (typeof process !== 'undefined' || !process.env || !process.env[varname]) {\n return false\n }\n\n return process.env[varname]\n}\n"]} \ No newline at end of file