node/detect-libc/index.d.ts
raw| 1 | // Copyright 2017 Lovell Fuller and others. |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | export const GLIBC: 'glibc'; |
| 5 | export const MUSL: 'musl'; |
| 6 | |
| 7 | export function family(): Promise<string | null>; |
| 8 | export function familySync(): string | null; |
| 9 | |
| 10 | export function isNonGlibcLinux(): Promise<boolean>; |
| 11 | export function isNonGlibcLinuxSync(): boolean; |
| 12 | |
| 13 | export function version(): Promise<string | null>; |
| 14 | export function versionSync(): string | null; |