preprocess
Preprocess directives in HTML, JavaScript, etc directives based off variable context
gulp-preprocess
Gulp plugin to preprocess HTML, JavaScript, and other files based on custom context or environment configuration
is-phantom
Check if current running context is PhantomJS.
environment
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc