unenv
Version:
`unenv` is a framework-agnostic system that allows converting JavaScript code to be platform agnostic and work in any environment including Browsers, Workers, Node.js, or JavaScript runtime.
384 lines (383 loc) • 12.4 kB
TypeScript
export declare const UV_UDP_REUSEADDR = 4;
export declare const RTLD_LAZY = 1;
export declare const RTLD_NOW = 2;
export declare const RTLD_GLOBAL = 8;
export declare const RTLD_LOCAL = 4;
export declare const RTLD_DEEPBIND = 16;
export declare const E2BIG = 7;
export declare const EACCES = 13;
export declare const EADDRINUSE = 48;
export declare const EADDRNOTAVAIL = 49;
export declare const EAFNOSUPPORT = 47;
export declare const EAGAIN = 35;
export declare const EALREADY = 37;
export declare const EBADF = 9;
export declare const EBADMSG = 94;
export declare const EBUSY = 16;
export declare const ECANCELED = 89;
export declare const ECHILD = 10;
export declare const ECONNABORTED = 53;
export declare const ECONNREFUSED = 61;
export declare const ECONNRESET = 54;
export declare const EDEADLK = 11;
export declare const EDESTADDRREQ = 39;
export declare const EDOM = 33;
export declare const EDQUOT = 69;
export declare const EEXIST = 17;
export declare const EFAULT = 14;
export declare const EFBIG = 27;
export declare const EHOSTUNREACH = 65;
export declare const EIDRM = 90;
export declare const EILSEQ = 92;
export declare const EINPROGRESS = 36;
export declare const EINTR = 4;
export declare const EINVAL = 22;
export declare const EIO = 5;
export declare const EISCONN = 56;
export declare const EISDIR = 21;
export declare const ELOOP = 62;
export declare const EMFILE = 24;
export declare const EMLINK = 31;
export declare const EMSGSIZE = 40;
export declare const EMULTIHOP = 95;
export declare const ENAMETOOLONG = 63;
export declare const ENETDOWN = 50;
export declare const ENETRESET = 52;
export declare const ENETUNREACH = 51;
export declare const ENFILE = 23;
export declare const ENOBUFS = 55;
export declare const ENODATA = 96;
export declare const ENODEV = 19;
export declare const ENOENT = 2;
export declare const ENOEXEC = 8;
export declare const ENOLCK = 77;
export declare const ENOLINK = 97;
export declare const ENOMEM = 12;
export declare const ENOMSG = 91;
export declare const ENOPROTOOPT = 42;
export declare const ENOSPC = 28;
export declare const ENOSR = 98;
export declare const ENOSTR = 99;
export declare const ENOSYS = 78;
export declare const ENOTCONN = 57;
export declare const ENOTDIR = 20;
export declare const ENOTEMPTY = 66;
export declare const ENOTSOCK = 38;
export declare const ENOTSUP = 45;
export declare const ENOTTY = 25;
export declare const ENXIO = 6;
export declare const EOPNOTSUPP = 102;
export declare const EOVERFLOW = 84;
export declare const EPERM = 1;
export declare const EPIPE = 32;
export declare const EPROTO = 100;
export declare const EPROTONOSUPPORT = 43;
export declare const EPROTOTYPE = 41;
export declare const ERANGE = 34;
export declare const EROFS = 30;
export declare const ESPIPE = 29;
export declare const ESRCH = 3;
export declare const ESTALE = 70;
export declare const ETIME = 101;
export declare const ETIMEDOUT = 60;
export declare const ETXTBSY = 26;
export declare const EWOULDBLOCK = 35;
export declare const EXDEV = 18;
export declare const WSAEINTR = 10004;
export declare const WSAEBADF = 10009;
export declare const WSAEACCES = 10013;
export declare const WSAEFAULT = 10014;
export declare const WSAEINVAL = 10022;
export declare const WSAEMFILE = 10024;
export declare const WSAEWOULDBLOCK = 10035;
export declare const WSAEINPROGRESS = 10036;
export declare const WSAEALREADY = 10037;
export declare const WSAENOTSOCK = 10038;
export declare const WSAEDESTADDRREQ = 10039;
export declare const WSAEMSGSIZE = 10040;
export declare const WSAEPROTOTYPE = 10041;
export declare const WSAENOPROTOOPT = 10042;
export declare const WSAEPROTONOSUPPORT = 10043;
export declare const WSAESOCKTNOSUPPORT = 10044;
export declare const WSAEOPNOTSUPP = 10045;
export declare const WSAEPFNOSUPPORT = 10046;
export declare const WSAEAFNOSUPPORT = 10047;
export declare const WSAEADDRINUSE = 10048;
export declare const WSAEADDRNOTAVAIL = 10049;
export declare const WSAENETDOWN = 10050;
export declare const WSAENETUNREACH = 10051;
export declare const WSAENETRESET = 10052;
export declare const WSAECONNABORTED = 10053;
export declare const WSAECONNRESET = 10054;
export declare const WSAENOBUFS = 10055;
export declare const WSAEISCONN = 10056;
export declare const WSAENOTCONN = 10057;
export declare const WSAESHUTDOWN = 10058;
export declare const WSAETOOMANYREFS = 10059;
export declare const WSAETIMEDOUT = 10060;
export declare const WSAECONNREFUSED = 10061;
export declare const WSAELOOP = 10062;
export declare const WSAENAMETOOLONG = 10063;
export declare const WSAEHOSTDOWN = 10064;
export declare const WSAEHOSTUNREACH = 10065;
export declare const WSAENOTEMPTY = 10066;
export declare const WSAEPROCLIM = 10067;
export declare const WSAEUSERS = 10068;
export declare const WSAEDQUOT = 10069;
export declare const WSAESTALE = 10070;
export declare const WSAEREMOTE = 10071;
export declare const WSASYSNOTREADY = 10091;
export declare const WSAVERNOTSUPPORTED = 10092;
export declare const WSANOTINITIALISED = 10093;
export declare const WSAEDISCON = 10101;
export declare const WSAENOMORE = 10102;
export declare const WSAECANCELLED = 10103;
export declare const WSAEINVALIDPROCTABLE = 10104;
export declare const WSAEINVALIDPROVIDER = 10105;
export declare const WSAEPROVIDERFAILEDINIT = 10106;
export declare const WSASYSCALLFAILURE = 10107;
export declare const WSASERVICE_NOT_FOUND = 10108;
export declare const WSATYPE_NOT_FOUND = 100109;
export declare const WSA_E_NO_MORE = 10110;
export declare const WSA_E_CANCELLED = 10111;
export declare const WSAEREFUSED = 10112;
export declare const SIGHUP = 1;
export declare const SIGINT = 2;
export declare const SIGQUIT = 3;
export declare const SIGILL = 4;
export declare const SIGTRAP = 5;
export declare const SIGABRT = 6;
export declare const SIGIOT = 6;
export declare const SIGBUS = 10;
export declare const SIGFPE = 8;
export declare const SIGKILL = 9;
export declare const SIGUSR1 = 30;
export declare const SIGSEGV = 11;
export declare const SIGUSR2 = 31;
export declare const SIGPIPE = 13;
export declare const SIGALRM = 14;
export declare const SIGTERM = 15;
export declare const SIGCHLD = 20;
export declare const SIGCONT = 19;
export declare const SIGSTOP = 17;
export declare const SIGTSTP = 18;
export declare const SIGTTIN = 21;
export declare const SIGTTOU = 22;
export declare const SIGURG = 16;
export declare const SIGXCPU = 24;
export declare const SIGXFSZ = 25;
export declare const SIGVTALRM = 26;
export declare const SIGPROF = 27;
export declare const SIGWINCH = 28;
export declare const SIGIO = 23;
export declare const SIGINFO = 29;
export declare const SIGSYS = 12;
export declare const SIGPOLL = 34;
export declare const SIGPWR = 29;
export declare const SIGBREAK = 21;
export declare const SIGSTKFLT = 16;
export declare const SIGUNUSED = 31;
export declare const SIGLOST = 29;
export declare const PRIORITY_LOW = 19;
export declare const PRIORITY_BELOW_NORMAL = 10;
export declare const PRIORITY_NORMAL = 0;
export declare const PRIORITY_ABOVE_NORMAL = -7;
export declare const PRIORITY_HIGH = -14;
export declare const PRIORITY_HIGHEST = -20;
declare const _default: {
UV_UDP_REUSEADDR: number;
dlopen: {
RTLD_LAZY: number;
RTLD_NOW: number;
RTLD_GLOBAL: number;
RTLD_LOCAL: number;
RTLD_DEEPBIND: number;
};
errno: {
E2BIG: number;
EACCES: number;
EADDRINUSE: number;
EADDRNOTAVAIL: number;
EAFNOSUPPORT: number;
EAGAIN: number;
EALREADY: number;
EBADF: number;
EBADMSG: number;
EBUSY: number;
ECANCELED: number;
ECHILD: number;
ECONNABORTED: number;
ECONNREFUSED: number;
ECONNRESET: number;
EDEADLK: number;
EDESTADDRREQ: number;
EDOM: number;
EDQUOT: number;
EEXIST: number;
EFAULT: number;
EFBIG: number;
EHOSTUNREACH: number;
EIDRM: number;
EILSEQ: number;
EINPROGRESS: number;
EINTR: number;
EINVAL: number;
EIO: number;
EISCONN: number;
EISDIR: number;
ELOOP: number;
EMFILE: number;
EMLINK: number;
EMSGSIZE: number;
EMULTIHOP: number;
ENAMETOOLONG: number;
ENETDOWN: number;
ENETRESET: number;
ENETUNREACH: number;
ENFILE: number;
ENOBUFS: number;
ENODATA: number;
ENODEV: number;
ENOENT: number;
ENOEXEC: number;
ENOLCK: number;
ENOLINK: number;
ENOMEM: number;
ENOMSG: number;
ENOPROTOOPT: number;
ENOSPC: number;
ENOSR: number;
ENOSTR: number;
ENOSYS: number;
ENOTCONN: number;
ENOTDIR: number;
ENOTEMPTY: number;
ENOTSOCK: number;
ENOTSUP: number;
ENOTTY: number;
ENXIO: number;
EOPNOTSUPP: number;
EOVERFLOW: number;
EPERM: number;
EPIPE: number;
EPROTO: number;
EPROTONOSUPPORT: number;
EPROTOTYPE: number;
ERANGE: number;
EROFS: number;
ESPIPE: number;
ESRCH: number;
ESTALE: number;
ETIME: number;
ETIMEDOUT: number;
ETXTBSY: number;
EWOULDBLOCK: number;
EXDEV: number;
WSAEINTR: number;
WSAEBADF: number;
WSAEACCES: number;
WSAEFAULT: number;
WSAEINVAL: number;
WSAEMFILE: number;
WSAEWOULDBLOCK: number;
WSAEINPROGRESS: number;
WSAEALREADY: number;
WSAENOTSOCK: number;
WSAEDESTADDRREQ: number;
WSAEMSGSIZE: number;
WSAEPROTOTYPE: number;
WSAENOPROTOOPT: number;
WSAEPROTONOSUPPORT: number;
WSAESOCKTNOSUPPORT: number;
WSAEOPNOTSUPP: number;
WSAEPFNOSUPPORT: number;
WSAEAFNOSUPPORT: number;
WSAEADDRINUSE: number;
WSAEADDRNOTAVAIL: number;
WSAENETDOWN: number;
WSAENETUNREACH: number;
WSAENETRESET: number;
WSAECONNABORTED: number;
WSAECONNRESET: number;
WSAENOBUFS: number;
WSAEISCONN: number;
WSAENOTCONN: number;
WSAESHUTDOWN: number;
WSAETOOMANYREFS: number;
WSAETIMEDOUT: number;
WSAECONNREFUSED: number;
WSAELOOP: number;
WSAENAMETOOLONG: number;
WSAEHOSTDOWN: number;
WSAEHOSTUNREACH: number;
WSAENOTEMPTY: number;
WSAEPROCLIM: number;
WSAEUSERS: number;
WSAEDQUOT: number;
WSAESTALE: number;
WSAEREMOTE: number;
WSASYSNOTREADY: number;
WSAVERNOTSUPPORTED: number;
WSANOTINITIALISED: number;
WSAEDISCON: number;
WSAENOMORE: number;
WSAECANCELLED: number;
WSAEINVALIDPROCTABLE: number;
WSAEINVALIDPROVIDER: number;
WSAEPROVIDERFAILEDINIT: number;
WSASYSCALLFAILURE: number;
WSASERVICE_NOT_FOUND: number;
WSATYPE_NOT_FOUND: number;
WSA_E_NO_MORE: number;
WSA_E_CANCELLED: number;
WSAEREFUSED: number;
};
signals: {
SIGHUP: number;
SIGINT: number;
SIGQUIT: number;
SIGILL: number;
SIGTRAP: number;
SIGABRT: number;
SIGIOT: number;
SIGBUS: number;
SIGFPE: number;
SIGKILL: number;
SIGUSR1: number;
SIGSEGV: number;
SIGUSR2: number;
SIGPIPE: number;
SIGALRM: number;
SIGTERM: number;
SIGCHLD: number;
SIGCONT: number;
SIGSTOP: number;
SIGTSTP: number;
SIGTTIN: number;
SIGTTOU: number;
SIGURG: number;
SIGXCPU: number;
SIGXFSZ: number;
SIGVTALRM: number;
SIGPROF: number;
SIGWINCH: number;
SIGIO: number;
SIGINFO: number;
SIGSYS: number;
SIGBREAK: number;
SIGLOST: number;
SIGPWR: number;
SIGPOLL: number;
SIGSTKFLT: number;
SIGUNUSED: number;
};
priority: {
PRIORITY_LOW: number;
PRIORITY_BELOW_NORMAL: number;
PRIORITY_NORMAL: number;
PRIORITY_ABOVE_NORMAL: number;
PRIORITY_HIGH: number;
PRIORITY_HIGHEST: number;
};
};
export default _default;