feat: initial commit

This commit is contained in:
2026-06-15 13:39:41 +07:00
commit 0afbecbe83
32 changed files with 6620 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import { PosixPlatform } from './posix'
import { UnsupportedPlatform } from './unsupported'
import type { RelayPlatform } from './types'
export type { ClaimedSocket, ProcessInfo, RelayPlatform } from './types'
export const platform: RelayPlatform =
process.platform === 'win32' ? new UnsupportedPlatform() : new PosixPlatform()