bun-win32
v1.0.5
Published
Every @bun-win32/* package in one install. The full Win32 FFI surface for Bun on Windows.
Maintainers
Readme
bun-win32
Every Win32 FFI binding for Bun on Windows, in one install. The unscoped alias for @bun-win32/all.
Install
bun add bun-win32Usage
import { D2D1, Kernel32, User32, Xaudio2_9 } from 'bun-win32';
Kernel32.GetCurrentProcessId();
User32.GetForegroundWindow();This package re-exports @bun-win32/all verbatim — every default class from every @bun-win32/* package, plus the shared Win32 namespace from @bun-win32/core. See @bun-win32/all for the full surface.
For types, enums, and packed-struct helpers, import from the specific package — those are not re-exported here because the namespace would collide:
import { User32 } from 'bun-win32';
import { WindowStyles, ShowWindowCommand } from '@bun-win32/user32';Requirements
- Bun >= 1.1.0
- Windows 10 or later
License
MIT
