npm.io
0.27.1 • Published 10h ago

@gjsify/webgl-darwin-arm64

Licence
MIT
Version
0.27.1
Deps
0
Size
493 kB
Vulns
0
Weekly
0
Stars
19

@gjsify/webgl-darwin-arm64

The darwin-arm64 native artifacts of @gjsify/webgl — a shared library plus its GObject-Introspection typelib, and nothing else. There is no JavaScript in this package and nothing to import from it.

You do not install this directly. @gjsify/webgl declares it as an optionalDependencies entry and this package declares os: ["darwin"], cpu: ["arm64"], so your package manager installs the one build that fits your machine and silently skips the rest — the same model esbuild, rolldown and lightningcss use. Before this split every consumer downloaded every platform's binary: 97.3 MB of which a linux-x64 machine could load 31.5 MB.

@gjsify/cli finds the artifacts at run time by scanning node_modules for packages declaring gjsify.prebuilds, and puts this directory on GI_TYPELIB_PATH plus the host loader's own search path. If a gi://Gjsify… import fails with "typelib not found", check that this package is present in node_modules — an optional dependency that failed to install is skipped without an error, by design.

Generated by scripts/generate-platform-packages.mjs; see ADR 0017.

License: MIT