Search results
86 packages found
ECMAScript spec-compliant polyfill/shim for `globalThis`
- window
- self
- global
- globalThis
- System.global
- global object
- global this value
- ECMAScript
- es-shim API
- polyfill
- shim
Sometimes you have to do horrible things, like use the global object to share a singleton. Abstract that away, with this!
This TypeScript module provides a cross-platform alternative to `globalThis` named `globalScope`. This object works across different environments, including browsers (`window`), Node.js (`global`), and Web Workers (`self`).
- global
- globalThis
- global-polyfill
- global-shim
- globalThis-polyfill
- globalThis-shim
- cross-platform
- ECMAScript
- typescript
- javascript
- node
- nodejs
- browser
- esm
- View more
🌍 Returns the global object regardless of the environment.
Returns the global that this environment provides.
get, set global values in any js env
This [vite](https://vitejs.dev/) plugin generates a single SVG spritemap containing multiple <symbol> elements from all `.svg` files in a directory.
- es6
- ebs
- https
- ES2019
- Array.prototype.includes
- trimEnd
- iterate
- debugger
- package manager
- names
- eventDispatcher
- npm
- rmdir
- global
- View more
This [vite](https://vitejs.dev/) plugin generates a single SVG spritemap containing multiple <symbol> elements from all `.svg` files in a directory.
- RxJS
- .env
- es5
- Object.defineProperty
- vars
- aws
- arraybuffer
- has
- endpoint
- trim
- schema
- identifiers
- js
- parsing
- View more
Detect globalThis support.
Global namespace without polluting the global scope
This module helps in solving the problem of managing global variable in nodejs application. Set the global variable using global-node class and get it anywhere in application using the same class. It helps in writing clean and maintainable code.
The global variable integration for Astro 🌐
- mr-world
- astro
- astrojs
- withastro
- astro-integration
- astro-component
- global
- globalThis
- window
- global variable
- global variables
- serialize
- deserialize
Detect globalThis support.
Global property globalThis polyfill
This packages makes sharing states simpler
This project provides simple functions for working with URLs.
Returns `true` if the code is running within a Browser window. Use this function if you need special code paths for when running in a Browser window, a Web Worker, or another environment (such as Node.js).
This project provides a simple wrapper for stubbing out `window.location` calls.
This project provides simple functions for working with paths.
This project provides a single function that enables you to stack code into the window onload event so that various functions can all be executed in order.