Package Exports
- @gjsify/utils
- @gjsify/utils/main-loop
Readme
@gjsify/utils
Shared utility functions for gjsify packages including error polyfills, structured clone, and GNOME library helpers.
Part of the gjsify project — Node.js and Web APIs for GJS (GNOME JavaScript).
Installation
gjsify install @gjsify/utilsUsage
import { ensureMainLoop } from '@gjsify/utils';
// Start GLib MainLoop if not already running (no-op on Node.js)
ensureMainLoop();License
MIT