npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@geastack/windows

v0.1.0

Published

Generated Windows SDK bindings (Win32, User32, Kernel32, Shell32, Dwmapi, Controls) plus the Win32 desktop native build target for Gea apps.

Downloads

122

Readme

@geastack/windows

The Windows target for GeaStack apps, in one package:

  • Windows SDK bindings an app imports as ES modules with full types: @geastack/windows/User32, Kernel32, Shell32, Dwmapi, Win32 (structs and helpers) and Controls (native window, stack, label, text field, text view, button, check box, slider, progress bar, image, scroll, box, split view and toolbar classes). The compiler lowers every call to a thunk in the native bridge; the runtime modules here only throw, so a web build that reaches one fails loudly.
  • The Win32 desktop target (targets/win32): build-windows.mjs turns an app into a native .exe with clang-cl and lld-link, and the C++ under targets/win32/main is the renderer (a painted surface per window, real child windows only for native controls and scroll containers), the glass-split shell, the platform hooks (display, timers, memory, sensors, WinHTTP network, storage, XAudio2 audio) and the Controls object model.

Use

{
  "dependencies": { "@geastack/windows": "^0.1.0" },
  "gea": { "targets": { "windows": true } }
}
gea build --target windows
gea run --target windows

A Windows-native app ("runtime": "windows-native") builds its UI from the Controls classes instead of gea components and adds @geastack/vite-plugin-windows-native to its Vite config.

import { installRootView, WinLabel, WinStackView } from '@geastack/windows/Controls'

const root = new WinStackView()
const label = new WinLabel()
label.text = 'Hello from Win32'
root.addArrangedSubview(label)
installRootView(root)

Requirements

Windows 10 or later, LLVM (clang-cl, lld-link, llvm-rc) either standalone or as the "C++ Clang tools for Windows" component of Visual Studio Build Tools, the MSVC headers and a Windows SDK. build-windows.mjs finds them; set GEA_WINDOWS_CLANG_CL / GEA_WINDOWS_LLD_LINK to point at a specific toolchain.

Layout

| Path | What | | --- | --- | | src/index.ts | The SDK fixture and the generators for declarations, runtime stubs, bridge metadata and the native bridge header/source | | generated/*.d.ts, runtime/*.js | Generated from the fixture (npm run build) | | targets/win32/build-windows.mjs | The build driver (gea build --target windows runs it) | | targets/win32/main/ | The target's C++ | | targets/win32/test/ | npm test |

License

Apache-2.0. See LICENSE.