UNPKG

nstdlib-nightly

Version:

Node.js standard library converted to runtime-agnostic ES modules.

31 lines (16 loc) 1.43 kB
// Auto generated from Node.js v22.7.0 runtime export const safeGetenv = (...args) => globalThis.node_binding_credentials_safeGetenv?.(...args); export const implementsPosixCredentials = true; export const getuid = (...args) => globalThis.node_binding_credentials_getuid?.(...args); export const geteuid = (...args) => globalThis.node_binding_credentials_geteuid?.(...args); export const getgid = (...args) => globalThis.node_binding_credentials_getgid?.(...args); export const getegid = (...args) => globalThis.node_binding_credentials_getegid?.(...args); export const getgroups = (...args) => globalThis.node_binding_credentials_getgroups?.(...args); export const initgroups = (...args) => globalThis.node_binding_credentials_initgroups?.(...args); export const setegid = (...args) => globalThis.node_binding_credentials_setegid?.(...args); export const seteuid = (...args) => globalThis.node_binding_credentials_seteuid?.(...args); export const setgid = (...args) => globalThis.node_binding_credentials_setgid?.(...args); export const setuid = (...args) => globalThis.node_binding_credentials_setuid?.(...args); export const setgroups = (...args) => globalThis.node_binding_credentials_setgroups?.(...args); const __default_export__ = { safeGetenv, implementsPosixCredentials, getuid, geteuid, getgid, getegid, getgroups, initgroups, setegid, seteuid, setgid, setuid, setgroups }; export default __default_export__;