preprocess

Preprocess directives in HTML, JavaScript, etc directives based off variable context
v3.2.0 URL: https://unpkg.com/preprocess@3.2.0/lib/preprocess.js
OpenBrowse Files
directiveENVenvironmentifdefifndefechoincludeexcludeprocesspreprocesspragma

gulp-preprocess

Gulp plugin to preprocess HTML, JavaScript, and other files based on custom context or environment configuration
v5.0.0 URL: https://unpkg.com/gulp-preprocess@5.0.0/index.js
OpenBrowse Files
gulpplugingulp-pluginpreprocessorhtmljavascriptcoffeescriptdebugenvironmentENVconditionalincludeexcludeifdefifndefecho

@twelvehart/envctl

Environment variable context manager for development workflows
v1.4.0 URL: https://unpkg.com/@twelvehart/envctl@1.4.0/dist/index.js
OpenBrowse Files
envenvironmentvariablesclidevelopmentcontextmanagerprofilesdotenv

is-phantom

Check if current running context is PhantomJS.
v1.0.1 URL: https://unpkg.com/is-phantom@1.0.1/index.js
OpenBrowse Files
phantomtestcheckbrowserenvironmentcontextnode

environment

Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
v1.1.0 URL: https://unpkg.com/environment@1.1.0/index.js
OpenBrowse Files
runtimeenvironmentenvexecutionengineplatformcontextjsjavascriptischeckcheckingdetectdetectionbrowsernodebundenoelectronjsdomwebworkerworkerserviceworkermacosiosiphoneipadwindowslinuxandroidosoperatingsystem