webpack-global-object-x
JSON →Utility to provide the correct global object for webpack's globalObject configuration, supporting Node.js, browsers, and Web Workers. Current stable version is 1.0.1, released with no updates since 2018. It returns a function that, when called, yields the global object (`global`, `self`, or `this`). Lightweight (no dependencies) and intended for use in webpack configuration to set `output.globalObject` for UMD bundles. Differentiators: simple, focused, and independent of any runtime environment detection library.
Traffic · last 30 days ↓54% vs prev 7d
total hits 25
actors 7 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇬🇧 United Kingdom · 🇮🇩 Indonesia
Resources
API endpoints
full doc /v1/registry/webpack-global-object-x
compatibility /v1/registry/webpack-global-object-x/compatibility