isDevelopment

utils · /index·function

Whether the current runtime is local development. Excludes test and Vercel preview.

Signature

@nordcom/commerce-utils
function isDevelopment(): boolean;

Returns

true when NODE_ENV or VERCEL_ENV is 'development'.

ParsedHost AppName BuildEnv DevTld Hostname ShopHandle appFromHost isDevHost

Metadata@nordcom/commerce-utils@0.0.0Open in GitHub ↗

On this page