rahad-all-downloader 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/.cache/nix/binary-cache-v6.sqlite +0 -0
- package/.cache/nix/binary-cache-v6.sqlite-journal +0 -0
- package/.cache/replit/__replit_disk_meta.json +1 -0
- package/.cache/replit/modules/nodejs-20.res +1 -0
- package/.cache/replit/modules/replit.res +1 -0
- package/.cache/replit/modules.stamp +0 -0
- package/.cache/replit/nix/env.json +1 -0
- package/.cache/typescript/5.0/node_modules/.package-lock.json +12 -0
- package/.cache/typescript/5.0/node_modules/types-registry/README.md +2 -0
- package/.cache/typescript/5.0/node_modules/types-registry/index.json +1 -0
- package/.cache/typescript/5.0/node_modules/types-registry/package.json +20 -0
- package/.cache/typescript/5.0/package-lock.json +17 -0
- package/.cache/typescript/5.0/package.json +1 -0
- package/.cache/typescript/5.3/node_modules/.package-lock.json +99 -0
- package/.cache/typescript/5.3/node_modules/@types/node/LICENSE +21 -0
- package/.cache/typescript/5.3/node_modules/@types/node/README.md +15 -0
- package/.cache/typescript/5.3/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/.cache/typescript/5.3/node_modules/@types/node/assert.d.ts +996 -0
- package/.cache/typescript/5.3/node_modules/@types/node/async_hooks.d.ts +539 -0
- package/.cache/typescript/5.3/node_modules/@types/node/buffer.d.ts +2362 -0
- package/.cache/typescript/5.3/node_modules/@types/node/child_process.d.ts +1540 -0
- package/.cache/typescript/5.3/node_modules/@types/node/cluster.d.ts +432 -0
- package/.cache/typescript/5.3/node_modules/@types/node/console.d.ts +415 -0
- package/.cache/typescript/5.3/node_modules/@types/node/constants.d.ts +19 -0
- package/.cache/typescript/5.3/node_modules/@types/node/crypto.d.ts +4456 -0
- package/.cache/typescript/5.3/node_modules/@types/node/dgram.d.ts +586 -0
- package/.cache/typescript/5.3/node_modules/@types/node/diagnostics_channel.d.ts +191 -0
- package/.cache/typescript/5.3/node_modules/@types/node/dns/promises.d.ts +425 -0
- package/.cache/typescript/5.3/node_modules/@types/node/dns.d.ts +809 -0
- package/.cache/typescript/5.3/node_modules/@types/node/dom-events.d.ts +122 -0
- package/.cache/typescript/5.3/node_modules/@types/node/domain.d.ts +170 -0
- package/.cache/typescript/5.3/node_modules/@types/node/events.d.ts +879 -0
- package/.cache/typescript/5.3/node_modules/@types/node/fs/promises.d.ts +1239 -0
- package/.cache/typescript/5.3/node_modules/@types/node/fs.d.ts +4291 -0
- package/.cache/typescript/5.3/node_modules/@types/node/globals.d.ts +385 -0
- package/.cache/typescript/5.3/node_modules/@types/node/globals.global.d.ts +1 -0
- package/.cache/typescript/5.3/node_modules/@types/node/http.d.ts +1888 -0
- package/.cache/typescript/5.3/node_modules/@types/node/http2.d.ts +2382 -0
- package/.cache/typescript/5.3/node_modules/@types/node/https.d.ts +550 -0
- package/.cache/typescript/5.3/node_modules/@types/node/index.d.ts +88 -0
- package/.cache/typescript/5.3/node_modules/@types/node/inspector.d.ts +2747 -0
- package/.cache/typescript/5.3/node_modules/@types/node/module.d.ts +301 -0
- package/.cache/typescript/5.3/node_modules/@types/node/net.d.ts +949 -0
- package/.cache/typescript/5.3/node_modules/@types/node/os.d.ts +478 -0
- package/.cache/typescript/5.3/node_modules/@types/node/package.json +230 -0
- package/.cache/typescript/5.3/node_modules/@types/node/path.d.ts +191 -0
- package/.cache/typescript/5.3/node_modules/@types/node/perf_hooks.d.ts +639 -0
- package/.cache/typescript/5.3/node_modules/@types/node/process.d.ts +1539 -0
- package/.cache/typescript/5.3/node_modules/@types/node/punycode.d.ts +117 -0
- package/.cache/typescript/5.3/node_modules/@types/node/querystring.d.ts +141 -0
- package/.cache/typescript/5.3/node_modules/@types/node/readline/promises.d.ts +150 -0
- package/.cache/typescript/5.3/node_modules/@types/node/readline.d.ts +539 -0
- package/.cache/typescript/5.3/node_modules/@types/node/repl.d.ts +430 -0
- package/.cache/typescript/5.3/node_modules/@types/node/stream/consumers.d.ts +12 -0
- package/.cache/typescript/5.3/node_modules/@types/node/stream/promises.d.ts +83 -0
- package/.cache/typescript/5.3/node_modules/@types/node/stream/web.d.ts +350 -0
- package/.cache/typescript/5.3/node_modules/@types/node/stream.d.ts +1701 -0
- package/.cache/typescript/5.3/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/.cache/typescript/5.3/node_modules/@types/node/test.d.ts +1382 -0
- package/.cache/typescript/5.3/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/.cache/typescript/5.3/node_modules/@types/node/timers.d.ts +240 -0
- package/.cache/typescript/5.3/node_modules/@types/node/tls.d.ts +1210 -0
- package/.cache/typescript/5.3/node_modules/@types/node/trace_events.d.ts +182 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/assert/strict.d.ts +8 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/assert.d.ts +996 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/async_hooks.d.ts +539 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/buffer.d.ts +2362 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/child_process.d.ts +1540 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/cluster.d.ts +432 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/console.d.ts +415 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/constants.d.ts +19 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/crypto.d.ts +4455 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dgram.d.ts +586 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +191 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dns/promises.d.ts +425 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dns.d.ts +809 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dom-events.d.ts +122 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/domain.d.ts +170 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/events.d.ts +879 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/fs/promises.d.ts +1239 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/fs.d.ts +4291 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/globals.d.ts +385 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/http.d.ts +1888 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/http2.d.ts +2382 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/https.d.ts +550 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/index.d.ts +88 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/inspector.d.ts +2747 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/module.d.ts +301 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/net.d.ts +949 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/os.d.ts +478 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/path.d.ts +191 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/perf_hooks.d.ts +639 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/process.d.ts +1539 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/punycode.d.ts +117 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/querystring.d.ts +141 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/readline/promises.d.ts +150 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/readline.d.ts +539 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/repl.d.ts +430 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream/consumers.d.ts +12 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream/promises.d.ts +83 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream/web.d.ts +350 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream.d.ts +1701 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/string_decoder.d.ts +67 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/test.d.ts +1382 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/timers/promises.d.ts +93 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/timers.d.ts +240 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/tls.d.ts +1210 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/trace_events.d.ts +182 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/tty.d.ts +208 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/url.d.ts +927 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/util.d.ts +2183 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/v8.d.ts +635 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/vm.d.ts +903 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/wasi.d.ts +158 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/worker_threads.d.ts +691 -0
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/zlib.d.ts +517 -0
- package/.cache/typescript/5.3/node_modules/@types/node/tty.d.ts +208 -0
- package/.cache/typescript/5.3/node_modules/@types/node/url.d.ts +927 -0
- package/.cache/typescript/5.3/node_modules/@types/node/util.d.ts +2183 -0
- package/.cache/typescript/5.3/node_modules/@types/node/v8.d.ts +635 -0
- package/.cache/typescript/5.3/node_modules/@types/node/vm.d.ts +903 -0
- package/.cache/typescript/5.3/node_modules/@types/node/wasi.d.ts +158 -0
- package/.cache/typescript/5.3/node_modules/@types/node/worker_threads.d.ts +691 -0
- package/.cache/typescript/5.3/node_modules/@types/node/zlib.d.ts +517 -0
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/LICENSE +21 -0
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/README.md +15 -0
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/externals.d.ts +32 -0
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/index.d.ts +214 -0
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/package.json +83 -0
- package/.cache/typescript/5.3/node_modules/asynckit/LICENSE +21 -0
- package/.cache/typescript/5.3/node_modules/asynckit/README.md +233 -0
- package/.cache/typescript/5.3/node_modules/asynckit/bench.js +76 -0
- package/.cache/typescript/5.3/node_modules/asynckit/index.js +6 -0
- package/.cache/typescript/5.3/node_modules/asynckit/lib/abort.js +29 -0
- package/.cache/typescript/5.3/node_modules/asynckit/lib/async.js +34 -0
- package/.cache/typescript/5.3/node_modules/asynckit/lib/defer.js +26 -0
- package/.cache/typescript/5.3/node_modules/asynckit/lib/iterate.js +75 -0
- package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/.cache/typescript/5.3/node_modules/asynckit/lib/state.js +37 -0
- package/.cache/typescript/5.3/node_modules/asynckit/lib/streamify.js +141 -0
- package/.cache/typescript/5.3/node_modules/asynckit/lib/terminator.js +29 -0
- package/.cache/typescript/5.3/node_modules/asynckit/package.json +63 -0
- package/.cache/typescript/5.3/node_modules/asynckit/parallel.js +43 -0
- package/.cache/typescript/5.3/node_modules/asynckit/serial.js +17 -0
- package/.cache/typescript/5.3/node_modules/asynckit/serialOrdered.js +75 -0
- package/.cache/typescript/5.3/node_modules/asynckit/stream.js +21 -0
- package/.cache/typescript/5.3/node_modules/combined-stream/License +19 -0
- package/.cache/typescript/5.3/node_modules/combined-stream/Readme.md +138 -0
- package/.cache/typescript/5.3/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/.cache/typescript/5.3/node_modules/combined-stream/package.json +25 -0
- package/.cache/typescript/5.3/node_modules/combined-stream/yarn.lock +17 -0
- package/.cache/typescript/5.3/node_modules/delayed-stream/License +19 -0
- package/.cache/typescript/5.3/node_modules/delayed-stream/Makefile +7 -0
- package/.cache/typescript/5.3/node_modules/delayed-stream/Readme.md +141 -0
- package/.cache/typescript/5.3/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/.cache/typescript/5.3/node_modules/delayed-stream/package.json +27 -0
- package/.cache/typescript/5.3/node_modules/form-data/License +19 -0
- package/.cache/typescript/5.3/node_modules/form-data/README.md.bak +358 -0
- package/.cache/typescript/5.3/node_modules/form-data/Readme.md +358 -0
- package/.cache/typescript/5.3/node_modules/form-data/index.d.ts +62 -0
- package/.cache/typescript/5.3/node_modules/form-data/lib/browser.js +2 -0
- package/.cache/typescript/5.3/node_modules/form-data/lib/form_data.js +501 -0
- package/.cache/typescript/5.3/node_modules/form-data/lib/populate.js +10 -0
- package/.cache/typescript/5.3/node_modules/form-data/package.json +68 -0
- package/.cache/typescript/5.3/node_modules/mime-db/HISTORY.md +507 -0
- package/.cache/typescript/5.3/node_modules/mime-db/LICENSE +23 -0
- package/.cache/typescript/5.3/node_modules/mime-db/README.md +100 -0
- package/.cache/typescript/5.3/node_modules/mime-db/db.json +8519 -0
- package/.cache/typescript/5.3/node_modules/mime-db/index.js +12 -0
- package/.cache/typescript/5.3/node_modules/mime-db/package.json +60 -0
- package/.cache/typescript/5.3/node_modules/mime-types/HISTORY.md +397 -0
- package/.cache/typescript/5.3/node_modules/mime-types/LICENSE +23 -0
- package/.cache/typescript/5.3/node_modules/mime-types/README.md +113 -0
- package/.cache/typescript/5.3/node_modules/mime-types/index.js +188 -0
- package/.cache/typescript/5.3/node_modules/mime-types/package.json +44 -0
- package/.cache/typescript/5.3/node_modules/types-registry/README.md +2 -0
- package/.cache/typescript/5.3/node_modules/types-registry/index.json +1 -0
- package/.cache/typescript/5.3/node_modules/types-registry/package.json +20 -0
- package/.cache/typescript/5.3/node_modules/undici-types/README.md +6 -0
- package/.cache/typescript/5.3/node_modules/undici-types/agent.d.ts +31 -0
- package/.cache/typescript/5.3/node_modules/undici-types/api.d.ts +43 -0
- package/.cache/typescript/5.3/node_modules/undici-types/balanced-pool.d.ts +18 -0
- package/.cache/typescript/5.3/node_modules/undici-types/cache.d.ts +36 -0
- package/.cache/typescript/5.3/node_modules/undici-types/client.d.ts +97 -0
- package/.cache/typescript/5.3/node_modules/undici-types/connector.d.ts +34 -0
- package/.cache/typescript/5.3/node_modules/undici-types/content-type.d.ts +21 -0
- package/.cache/typescript/5.3/node_modules/undici-types/cookies.d.ts +28 -0
- package/.cache/typescript/5.3/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
- package/.cache/typescript/5.3/node_modules/undici-types/dispatcher.d.ts +241 -0
- package/.cache/typescript/5.3/node_modules/undici-types/errors.d.ts +128 -0
- package/.cache/typescript/5.3/node_modules/undici-types/fetch.d.ts +209 -0
- package/.cache/typescript/5.3/node_modules/undici-types/file.d.ts +39 -0
- package/.cache/typescript/5.3/node_modules/undici-types/filereader.d.ts +54 -0
- package/.cache/typescript/5.3/node_modules/undici-types/formdata.d.ts +108 -0
- package/.cache/typescript/5.3/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/.cache/typescript/5.3/node_modules/undici-types/global-origin.d.ts +7 -0
- package/.cache/typescript/5.3/node_modules/undici-types/handlers.d.ts +9 -0
- package/.cache/typescript/5.3/node_modules/undici-types/header.d.ts +4 -0
- package/.cache/typescript/5.3/node_modules/undici-types/index.d.ts +63 -0
- package/.cache/typescript/5.3/node_modules/undici-types/interceptors.d.ts +5 -0
- package/.cache/typescript/5.3/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/.cache/typescript/5.3/node_modules/undici-types/mock-client.d.ts +25 -0
- package/.cache/typescript/5.3/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/.cache/typescript/5.3/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/.cache/typescript/5.3/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/.cache/typescript/5.3/node_modules/undici-types/package.json +55 -0
- package/.cache/typescript/5.3/node_modules/undici-types/patch.d.ts +71 -0
- package/.cache/typescript/5.3/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/.cache/typescript/5.3/node_modules/undici-types/pool.d.ts +28 -0
- package/.cache/typescript/5.3/node_modules/undici-types/proxy-agent.d.ts +30 -0
- package/.cache/typescript/5.3/node_modules/undici-types/readable.d.ts +61 -0
- package/.cache/typescript/5.3/node_modules/undici-types/webidl.d.ts +220 -0
- package/.cache/typescript/5.3/node_modules/undici-types/websocket.d.ts +131 -0
- package/.cache/typescript/5.3/package-lock.json +107 -0
- package/.cache/typescript/5.3/package.json +1 -0
- package/.cache/typescript/5.4/node_modules/.package-lock.json +115 -0
- package/.cache/typescript/5.4/node_modules/@types/body-parser/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/body-parser/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/body-parser/index.d.ts +95 -0
- package/.cache/typescript/5.4/node_modules/@types/body-parser/package.json +58 -0
- package/.cache/typescript/5.4/node_modules/@types/connect/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/connect/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/connect/index.d.ts +91 -0
- package/.cache/typescript/5.4/node_modules/@types/connect/package.json +32 -0
- package/.cache/typescript/5.4/node_modules/@types/express/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/express/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/express/index.d.ts +128 -0
- package/.cache/typescript/5.4/node_modules/@types/express/package.json +45 -0
- package/.cache/typescript/5.4/node_modules/@types/express-serve-static-core/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/express-serve-static-core/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/express-serve-static-core/index.d.ts +1295 -0
- package/.cache/typescript/5.4/node_modules/@types/express-serve-static-core/package.json +50 -0
- package/.cache/typescript/5.4/node_modules/@types/http-errors/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/http-errors/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/http-errors/index.d.ts +77 -0
- package/.cache/typescript/5.4/node_modules/@types/http-errors/package.json +30 -0
- package/.cache/typescript/5.4/node_modules/@types/mime/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/mime/Mime.d.ts +10 -0
- package/.cache/typescript/5.4/node_modules/@types/mime/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/mime/index.d.ts +31 -0
- package/.cache/typescript/5.4/node_modules/@types/mime/lite.d.ts +7 -0
- package/.cache/typescript/5.4/node_modules/@types/mime/package.json +30 -0
- package/.cache/typescript/5.4/node_modules/@types/node/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/node/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/.cache/typescript/5.4/node_modules/@types/node/assert.d.ts +1040 -0
- package/.cache/typescript/5.4/node_modules/@types/node/async_hooks.d.ts +541 -0
- package/.cache/typescript/5.4/node_modules/@types/node/buffer.d.ts +2363 -0
- package/.cache/typescript/5.4/node_modules/@types/node/child_process.d.ts +1544 -0
- package/.cache/typescript/5.4/node_modules/@types/node/cluster.d.ts +578 -0
- package/.cache/typescript/5.4/node_modules/@types/node/console.d.ts +452 -0
- package/.cache/typescript/5.4/node_modules/@types/node/constants.d.ts +19 -0
- package/.cache/typescript/5.4/node_modules/@types/node/crypto.d.ts +4523 -0
- package/.cache/typescript/5.4/node_modules/@types/node/dgram.d.ts +596 -0
- package/.cache/typescript/5.4/node_modules/@types/node/diagnostics_channel.d.ts +554 -0
- package/.cache/typescript/5.4/node_modules/@types/node/dns/promises.d.ts +474 -0
- package/.cache/typescript/5.4/node_modules/@types/node/dns.d.ts +864 -0
- package/.cache/typescript/5.4/node_modules/@types/node/dom-events.d.ts +124 -0
- package/.cache/typescript/5.4/node_modules/@types/node/domain.d.ts +170 -0
- package/.cache/typescript/5.4/node_modules/@types/node/events.d.ts +909 -0
- package/.cache/typescript/5.4/node_modules/@types/node/fs/promises.d.ts +1245 -0
- package/.cache/typescript/5.4/node_modules/@types/node/fs.d.ts +4317 -0
- package/.cache/typescript/5.4/node_modules/@types/node/globals.d.ts +411 -0
- package/.cache/typescript/5.4/node_modules/@types/node/globals.global.d.ts +1 -0
- package/.cache/typescript/5.4/node_modules/@types/node/http.d.ts +1908 -0
- package/.cache/typescript/5.4/node_modules/@types/node/http2.d.ts +2418 -0
- package/.cache/typescript/5.4/node_modules/@types/node/https.d.ts +550 -0
- package/.cache/typescript/5.4/node_modules/@types/node/index.d.ts +89 -0
- package/.cache/typescript/5.4/node_modules/@types/node/inspector.d.ts +2746 -0
- package/.cache/typescript/5.4/node_modules/@types/node/module.d.ts +315 -0
- package/.cache/typescript/5.4/node_modules/@types/node/net.d.ts +999 -0
- package/.cache/typescript/5.4/node_modules/@types/node/os.d.ts +495 -0
- package/.cache/typescript/5.4/node_modules/@types/node/package.json +217 -0
- package/.cache/typescript/5.4/node_modules/@types/node/path.d.ts +191 -0
- package/.cache/typescript/5.4/node_modules/@types/node/perf_hooks.d.ts +905 -0
- package/.cache/typescript/5.4/node_modules/@types/node/process.d.ts +1754 -0
- package/.cache/typescript/5.4/node_modules/@types/node/punycode.d.ts +117 -0
- package/.cache/typescript/5.4/node_modules/@types/node/querystring.d.ts +153 -0
- package/.cache/typescript/5.4/node_modules/@types/node/readline/promises.d.ts +150 -0
- package/.cache/typescript/5.4/node_modules/@types/node/readline.d.ts +540 -0
- package/.cache/typescript/5.4/node_modules/@types/node/repl.d.ts +430 -0
- package/.cache/typescript/5.4/node_modules/@types/node/sea.d.ts +153 -0
- package/.cache/typescript/5.4/node_modules/@types/node/stream/consumers.d.ts +12 -0
- package/.cache/typescript/5.4/node_modules/@types/node/stream/promises.d.ts +83 -0
- package/.cache/typescript/5.4/node_modules/@types/node/stream/web.d.ts +367 -0
- package/.cache/typescript/5.4/node_modules/@types/node/stream.d.ts +1707 -0
- package/.cache/typescript/5.4/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/.cache/typescript/5.4/node_modules/@types/node/test.d.ts +1718 -0
- package/.cache/typescript/5.4/node_modules/@types/node/timers/promises.d.ts +97 -0
- package/.cache/typescript/5.4/node_modules/@types/node/timers.d.ts +240 -0
- package/.cache/typescript/5.4/node_modules/@types/node/tls.d.ts +1217 -0
- package/.cache/typescript/5.4/node_modules/@types/node/trace_events.d.ts +197 -0
- package/.cache/typescript/5.4/node_modules/@types/node/tty.d.ts +208 -0
- package/.cache/typescript/5.4/node_modules/@types/node/url.d.ts +952 -0
- package/.cache/typescript/5.4/node_modules/@types/node/util.d.ts +2292 -0
- package/.cache/typescript/5.4/node_modules/@types/node/v8.d.ts +808 -0
- package/.cache/typescript/5.4/node_modules/@types/node/vm.d.ts +924 -0
- package/.cache/typescript/5.4/node_modules/@types/node/wasi.d.ts +181 -0
- package/.cache/typescript/5.4/node_modules/@types/node/worker_threads.d.ts +691 -0
- package/.cache/typescript/5.4/node_modules/@types/node/zlib.d.ts +530 -0
- package/.cache/typescript/5.4/node_modules/@types/qs/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/qs/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/qs/index.d.ts +79 -0
- package/.cache/typescript/5.4/node_modules/@types/qs/package.json +65 -0
- package/.cache/typescript/5.4/node_modules/@types/range-parser/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/range-parser/README.md +53 -0
- package/.cache/typescript/5.4/node_modules/@types/range-parser/index.d.ts +34 -0
- package/.cache/typescript/5.4/node_modules/@types/range-parser/package.json +25 -0
- package/.cache/typescript/5.4/node_modules/@types/send/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/send/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/send/index.d.ts +225 -0
- package/.cache/typescript/5.4/node_modules/@types/send/package.json +33 -0
- package/.cache/typescript/5.4/node_modules/@types/serve-static/LICENSE +21 -0
- package/.cache/typescript/5.4/node_modules/@types/serve-static/README.md +15 -0
- package/.cache/typescript/5.4/node_modules/@types/serve-static/index.d.ts +107 -0
- package/.cache/typescript/5.4/node_modules/@types/serve-static/package.json +39 -0
- package/.cache/typescript/5.4/node_modules/types-registry/README.md +2 -0
- package/.cache/typescript/5.4/node_modules/types-registry/index.json +1 -0
- package/.cache/typescript/5.4/node_modules/types-registry/package.json +20 -0
- package/.cache/typescript/5.4/node_modules/undici-types/README.md +6 -0
- package/.cache/typescript/5.4/node_modules/undici-types/agent.d.ts +31 -0
- package/.cache/typescript/5.4/node_modules/undici-types/api.d.ts +43 -0
- package/.cache/typescript/5.4/node_modules/undici-types/balanced-pool.d.ts +18 -0
- package/.cache/typescript/5.4/node_modules/undici-types/cache.d.ts +36 -0
- package/.cache/typescript/5.4/node_modules/undici-types/client.d.ts +97 -0
- package/.cache/typescript/5.4/node_modules/undici-types/connector.d.ts +34 -0
- package/.cache/typescript/5.4/node_modules/undici-types/content-type.d.ts +21 -0
- package/.cache/typescript/5.4/node_modules/undici-types/cookies.d.ts +28 -0
- package/.cache/typescript/5.4/node_modules/undici-types/diagnostics-channel.d.ts +67 -0
- package/.cache/typescript/5.4/node_modules/undici-types/dispatcher.d.ts +241 -0
- package/.cache/typescript/5.4/node_modules/undici-types/errors.d.ts +128 -0
- package/.cache/typescript/5.4/node_modules/undici-types/fetch.d.ts +209 -0
- package/.cache/typescript/5.4/node_modules/undici-types/file.d.ts +39 -0
- package/.cache/typescript/5.4/node_modules/undici-types/filereader.d.ts +54 -0
- package/.cache/typescript/5.4/node_modules/undici-types/formdata.d.ts +108 -0
- package/.cache/typescript/5.4/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/.cache/typescript/5.4/node_modules/undici-types/global-origin.d.ts +7 -0
- package/.cache/typescript/5.4/node_modules/undici-types/handlers.d.ts +9 -0
- package/.cache/typescript/5.4/node_modules/undici-types/header.d.ts +4 -0
- package/.cache/typescript/5.4/node_modules/undici-types/index.d.ts +63 -0
- package/.cache/typescript/5.4/node_modules/undici-types/interceptors.d.ts +5 -0
- package/.cache/typescript/5.4/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/.cache/typescript/5.4/node_modules/undici-types/mock-client.d.ts +25 -0
- package/.cache/typescript/5.4/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/.cache/typescript/5.4/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/.cache/typescript/5.4/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/.cache/typescript/5.4/node_modules/undici-types/package.json +55 -0
- package/.cache/typescript/5.4/node_modules/undici-types/patch.d.ts +71 -0
- package/.cache/typescript/5.4/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/.cache/typescript/5.4/node_modules/undici-types/pool.d.ts +28 -0
- package/.cache/typescript/5.4/node_modules/undici-types/proxy-agent.d.ts +30 -0
- package/.cache/typescript/5.4/node_modules/undici-types/readable.d.ts +61 -0
- package/.cache/typescript/5.4/node_modules/undici-types/webidl.d.ts +220 -0
- package/.cache/typescript/5.4/node_modules/undici-types/websocket.d.ts +131 -0
- package/.cache/typescript/5.4/package-lock.json +124 -0
- package/.cache/typescript/5.4/package.json +1 -0
- package/.replit +21 -0
- package/.upm/store.json +1 -0
- package/README.md +71 -0
- package/index.js +1 -0
- package/package.json +40 -0
- package/replit.nix +3 -0
@@ -0,0 +1,478 @@
|
|
1
|
+
/**
|
2
|
+
* The `node:os` module provides operating system-related utility methods and
|
3
|
+
* properties. It can be accessed using:
|
4
|
+
*
|
5
|
+
* ```js
|
6
|
+
* const os = require('node:os');
|
7
|
+
* ```
|
8
|
+
* @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/os.js)
|
9
|
+
*/
|
10
|
+
declare module "os" {
|
11
|
+
interface CpuInfo {
|
12
|
+
model: string;
|
13
|
+
speed: number;
|
14
|
+
times: {
|
15
|
+
user: number;
|
16
|
+
nice: number;
|
17
|
+
sys: number;
|
18
|
+
idle: number;
|
19
|
+
irq: number;
|
20
|
+
};
|
21
|
+
}
|
22
|
+
interface NetworkInterfaceBase {
|
23
|
+
address: string;
|
24
|
+
netmask: string;
|
25
|
+
mac: string;
|
26
|
+
internal: boolean;
|
27
|
+
cidr: string | null;
|
28
|
+
}
|
29
|
+
interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase {
|
30
|
+
family: "IPv4";
|
31
|
+
scopeid?: undefined;
|
32
|
+
}
|
33
|
+
interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase {
|
34
|
+
family: "IPv6";
|
35
|
+
scopeid: number;
|
36
|
+
}
|
37
|
+
interface UserInfo<T> {
|
38
|
+
username: T;
|
39
|
+
uid: number;
|
40
|
+
gid: number;
|
41
|
+
shell: T | null;
|
42
|
+
homedir: T;
|
43
|
+
}
|
44
|
+
type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;
|
45
|
+
/**
|
46
|
+
* Returns the host name of the operating system as a string.
|
47
|
+
* @since v0.3.3
|
48
|
+
*/
|
49
|
+
function hostname(): string;
|
50
|
+
/**
|
51
|
+
* Returns an array containing the 1, 5, and 15 minute load averages.
|
52
|
+
*
|
53
|
+
* The load average is a measure of system activity calculated by the operating
|
54
|
+
* system and expressed as a fractional number.
|
55
|
+
*
|
56
|
+
* The load average is a Unix-specific concept. On Windows, the return value is
|
57
|
+
* always `[0, 0, 0]`.
|
58
|
+
* @since v0.3.3
|
59
|
+
*/
|
60
|
+
function loadavg(): number[];
|
61
|
+
/**
|
62
|
+
* Returns the system uptime in number of seconds.
|
63
|
+
* @since v0.3.3
|
64
|
+
*/
|
65
|
+
function uptime(): number;
|
66
|
+
/**
|
67
|
+
* Returns the amount of free system memory in bytes as an integer.
|
68
|
+
* @since v0.3.3
|
69
|
+
*/
|
70
|
+
function freemem(): number;
|
71
|
+
/**
|
72
|
+
* Returns the total amount of system memory in bytes as an integer.
|
73
|
+
* @since v0.3.3
|
74
|
+
*/
|
75
|
+
function totalmem(): number;
|
76
|
+
/**
|
77
|
+
* Returns an array of objects containing information about each logical CPU core.
|
78
|
+
* The array will be empty if no CPU information is available, such as if the`/proc` file system is unavailable.
|
79
|
+
*
|
80
|
+
* The properties included on each object include:
|
81
|
+
*
|
82
|
+
* ```js
|
83
|
+
* [
|
84
|
+
* {
|
85
|
+
* model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
|
86
|
+
* speed: 2926,
|
87
|
+
* times: {
|
88
|
+
* user: 252020,
|
89
|
+
* nice: 0,
|
90
|
+
* sys: 30340,
|
91
|
+
* idle: 1070356870,
|
92
|
+
* irq: 0,
|
93
|
+
* },
|
94
|
+
* },
|
95
|
+
* {
|
96
|
+
* model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
|
97
|
+
* speed: 2926,
|
98
|
+
* times: {
|
99
|
+
* user: 306960,
|
100
|
+
* nice: 0,
|
101
|
+
* sys: 26980,
|
102
|
+
* idle: 1071569080,
|
103
|
+
* irq: 0,
|
104
|
+
* },
|
105
|
+
* },
|
106
|
+
* {
|
107
|
+
* model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
|
108
|
+
* speed: 2926,
|
109
|
+
* times: {
|
110
|
+
* user: 248450,
|
111
|
+
* nice: 0,
|
112
|
+
* sys: 21750,
|
113
|
+
* idle: 1070919370,
|
114
|
+
* irq: 0,
|
115
|
+
* },
|
116
|
+
* },
|
117
|
+
* {
|
118
|
+
* model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
|
119
|
+
* speed: 2926,
|
120
|
+
* times: {
|
121
|
+
* user: 256880,
|
122
|
+
* nice: 0,
|
123
|
+
* sys: 19430,
|
124
|
+
* idle: 1070905480,
|
125
|
+
* irq: 20,
|
126
|
+
* },
|
127
|
+
* },
|
128
|
+
* ]
|
129
|
+
* ```
|
130
|
+
*
|
131
|
+
* `nice` values are POSIX-only. On Windows, the `nice` values of all processors
|
132
|
+
* are always 0.
|
133
|
+
*
|
134
|
+
* `os.cpus().length` should not be used to calculate the amount of parallelism
|
135
|
+
* available to an application. Use {@link availableParallelism} for this purpose.
|
136
|
+
* @since v0.3.3
|
137
|
+
*/
|
138
|
+
function cpus(): CpuInfo[];
|
139
|
+
/**
|
140
|
+
* Returns an estimate of the default amount of parallelism a program should use.
|
141
|
+
* Always returns a value greater than zero.
|
142
|
+
*
|
143
|
+
* This function is a small wrapper about libuv's [`uv_available_parallelism()`](https://docs.libuv.org/en/v1.x/misc.html#c.uv_available_parallelism).
|
144
|
+
* @since v19.4.0, v18.14.0
|
145
|
+
*/
|
146
|
+
function availableParallelism(): number;
|
147
|
+
/**
|
148
|
+
* Returns the operating system name as returned by [`uname(3)`](https://linux.die.net/man/3/uname). For example, it
|
149
|
+
* returns `'Linux'` on Linux, `'Darwin'` on macOS, and `'Windows_NT'` on Windows.
|
150
|
+
*
|
151
|
+
* See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for additional information
|
152
|
+
* about the output of running [`uname(3)`](https://linux.die.net/man/3/uname) on various operating systems.
|
153
|
+
* @since v0.3.3
|
154
|
+
*/
|
155
|
+
function type(): string;
|
156
|
+
/**
|
157
|
+
* Returns the operating system as a string.
|
158
|
+
*
|
159
|
+
* On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `GetVersionExW()` is used. See
|
160
|
+
* [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
|
161
|
+
* @since v0.3.3
|
162
|
+
*/
|
163
|
+
function release(): string;
|
164
|
+
/**
|
165
|
+
* Returns an object containing network interfaces that have been assigned a
|
166
|
+
* network address.
|
167
|
+
*
|
168
|
+
* Each key on the returned object identifies a network interface. The associated
|
169
|
+
* value is an array of objects that each describe an assigned network address.
|
170
|
+
*
|
171
|
+
* The properties available on the assigned network address object include:
|
172
|
+
*
|
173
|
+
* ```js
|
174
|
+
* {
|
175
|
+
* lo: [
|
176
|
+
* {
|
177
|
+
* address: '127.0.0.1',
|
178
|
+
* netmask: '255.0.0.0',
|
179
|
+
* family: 'IPv4',
|
180
|
+
* mac: '00:00:00:00:00:00',
|
181
|
+
* internal: true,
|
182
|
+
* cidr: '127.0.0.1/8'
|
183
|
+
* },
|
184
|
+
* {
|
185
|
+
* address: '::1',
|
186
|
+
* netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
|
187
|
+
* family: 'IPv6',
|
188
|
+
* mac: '00:00:00:00:00:00',
|
189
|
+
* scopeid: 0,
|
190
|
+
* internal: true,
|
191
|
+
* cidr: '::1/128'
|
192
|
+
* }
|
193
|
+
* ],
|
194
|
+
* eth0: [
|
195
|
+
* {
|
196
|
+
* address: '192.168.1.108',
|
197
|
+
* netmask: '255.255.255.0',
|
198
|
+
* family: 'IPv4',
|
199
|
+
* mac: '01:02:03:0a:0b:0c',
|
200
|
+
* internal: false,
|
201
|
+
* cidr: '192.168.1.108/24'
|
202
|
+
* },
|
203
|
+
* {
|
204
|
+
* address: 'fe80::a00:27ff:fe4e:66a1',
|
205
|
+
* netmask: 'ffff:ffff:ffff:ffff::',
|
206
|
+
* family: 'IPv6',
|
207
|
+
* mac: '01:02:03:0a:0b:0c',
|
208
|
+
* scopeid: 1,
|
209
|
+
* internal: false,
|
210
|
+
* cidr: 'fe80::a00:27ff:fe4e:66a1/64'
|
211
|
+
* }
|
212
|
+
* ]
|
213
|
+
* }
|
214
|
+
* ```
|
215
|
+
* @since v0.6.0
|
216
|
+
*/
|
217
|
+
function networkInterfaces(): NodeJS.Dict<NetworkInterfaceInfo[]>;
|
218
|
+
/**
|
219
|
+
* Returns the string path of the current user's home directory.
|
220
|
+
*
|
221
|
+
* On POSIX, it uses the `$HOME` environment variable if defined. Otherwise it
|
222
|
+
* uses the [effective UID](https://en.wikipedia.org/wiki/User_identifier#Effective_user_ID) to look up the user's home directory.
|
223
|
+
*
|
224
|
+
* On Windows, it uses the `USERPROFILE` environment variable if defined.
|
225
|
+
* Otherwise it uses the path to the profile directory of the current user.
|
226
|
+
* @since v2.3.0
|
227
|
+
*/
|
228
|
+
function homedir(): string;
|
229
|
+
/**
|
230
|
+
* Returns information about the currently effective user. On POSIX platforms,
|
231
|
+
* this is typically a subset of the password file. The returned object includes
|
232
|
+
* the `username`, `uid`, `gid`, `shell`, and `homedir`. On Windows, the `uid` and`gid` fields are `-1`, and `shell` is `null`.
|
233
|
+
*
|
234
|
+
* The value of `homedir` returned by `os.userInfo()` is provided by the operating
|
235
|
+
* system. This differs from the result of `os.homedir()`, which queries
|
236
|
+
* environment variables for the home directory before falling back to the
|
237
|
+
* operating system response.
|
238
|
+
*
|
239
|
+
* Throws a `SystemError` if a user has no `username` or `homedir`.
|
240
|
+
* @since v6.0.0
|
241
|
+
*/
|
242
|
+
function userInfo(options: { encoding: "buffer" }): UserInfo<Buffer>;
|
243
|
+
function userInfo(options?: { encoding: BufferEncoding }): UserInfo<string>;
|
244
|
+
type SignalConstants = {
|
245
|
+
[key in NodeJS.Signals]: number;
|
246
|
+
};
|
247
|
+
namespace constants {
|
248
|
+
const UV_UDP_REUSEADDR: number;
|
249
|
+
namespace signals {}
|
250
|
+
const signals: SignalConstants;
|
251
|
+
namespace errno {
|
252
|
+
const E2BIG: number;
|
253
|
+
const EACCES: number;
|
254
|
+
const EADDRINUSE: number;
|
255
|
+
const EADDRNOTAVAIL: number;
|
256
|
+
const EAFNOSUPPORT: number;
|
257
|
+
const EAGAIN: number;
|
258
|
+
const EALREADY: number;
|
259
|
+
const EBADF: number;
|
260
|
+
const EBADMSG: number;
|
261
|
+
const EBUSY: number;
|
262
|
+
const ECANCELED: number;
|
263
|
+
const ECHILD: number;
|
264
|
+
const ECONNABORTED: number;
|
265
|
+
const ECONNREFUSED: number;
|
266
|
+
const ECONNRESET: number;
|
267
|
+
const EDEADLK: number;
|
268
|
+
const EDESTADDRREQ: number;
|
269
|
+
const EDOM: number;
|
270
|
+
const EDQUOT: number;
|
271
|
+
const EEXIST: number;
|
272
|
+
const EFAULT: number;
|
273
|
+
const EFBIG: number;
|
274
|
+
const EHOSTUNREACH: number;
|
275
|
+
const EIDRM: number;
|
276
|
+
const EILSEQ: number;
|
277
|
+
const EINPROGRESS: number;
|
278
|
+
const EINTR: number;
|
279
|
+
const EINVAL: number;
|
280
|
+
const EIO: number;
|
281
|
+
const EISCONN: number;
|
282
|
+
const EISDIR: number;
|
283
|
+
const ELOOP: number;
|
284
|
+
const EMFILE: number;
|
285
|
+
const EMLINK: number;
|
286
|
+
const EMSGSIZE: number;
|
287
|
+
const EMULTIHOP: number;
|
288
|
+
const ENAMETOOLONG: number;
|
289
|
+
const ENETDOWN: number;
|
290
|
+
const ENETRESET: number;
|
291
|
+
const ENETUNREACH: number;
|
292
|
+
const ENFILE: number;
|
293
|
+
const ENOBUFS: number;
|
294
|
+
const ENODATA: number;
|
295
|
+
const ENODEV: number;
|
296
|
+
const ENOENT: number;
|
297
|
+
const ENOEXEC: number;
|
298
|
+
const ENOLCK: number;
|
299
|
+
const ENOLINK: number;
|
300
|
+
const ENOMEM: number;
|
301
|
+
const ENOMSG: number;
|
302
|
+
const ENOPROTOOPT: number;
|
303
|
+
const ENOSPC: number;
|
304
|
+
const ENOSR: number;
|
305
|
+
const ENOSTR: number;
|
306
|
+
const ENOSYS: number;
|
307
|
+
const ENOTCONN: number;
|
308
|
+
const ENOTDIR: number;
|
309
|
+
const ENOTEMPTY: number;
|
310
|
+
const ENOTSOCK: number;
|
311
|
+
const ENOTSUP: number;
|
312
|
+
const ENOTTY: number;
|
313
|
+
const ENXIO: number;
|
314
|
+
const EOPNOTSUPP: number;
|
315
|
+
const EOVERFLOW: number;
|
316
|
+
const EPERM: number;
|
317
|
+
const EPIPE: number;
|
318
|
+
const EPROTO: number;
|
319
|
+
const EPROTONOSUPPORT: number;
|
320
|
+
const EPROTOTYPE: number;
|
321
|
+
const ERANGE: number;
|
322
|
+
const EROFS: number;
|
323
|
+
const ESPIPE: number;
|
324
|
+
const ESRCH: number;
|
325
|
+
const ESTALE: number;
|
326
|
+
const ETIME: number;
|
327
|
+
const ETIMEDOUT: number;
|
328
|
+
const ETXTBSY: number;
|
329
|
+
const EWOULDBLOCK: number;
|
330
|
+
const EXDEV: number;
|
331
|
+
const WSAEINTR: number;
|
332
|
+
const WSAEBADF: number;
|
333
|
+
const WSAEACCES: number;
|
334
|
+
const WSAEFAULT: number;
|
335
|
+
const WSAEINVAL: number;
|
336
|
+
const WSAEMFILE: number;
|
337
|
+
const WSAEWOULDBLOCK: number;
|
338
|
+
const WSAEINPROGRESS: number;
|
339
|
+
const WSAEALREADY: number;
|
340
|
+
const WSAENOTSOCK: number;
|
341
|
+
const WSAEDESTADDRREQ: number;
|
342
|
+
const WSAEMSGSIZE: number;
|
343
|
+
const WSAEPROTOTYPE: number;
|
344
|
+
const WSAENOPROTOOPT: number;
|
345
|
+
const WSAEPROTONOSUPPORT: number;
|
346
|
+
const WSAESOCKTNOSUPPORT: number;
|
347
|
+
const WSAEOPNOTSUPP: number;
|
348
|
+
const WSAEPFNOSUPPORT: number;
|
349
|
+
const WSAEAFNOSUPPORT: number;
|
350
|
+
const WSAEADDRINUSE: number;
|
351
|
+
const WSAEADDRNOTAVAIL: number;
|
352
|
+
const WSAENETDOWN: number;
|
353
|
+
const WSAENETUNREACH: number;
|
354
|
+
const WSAENETRESET: number;
|
355
|
+
const WSAECONNABORTED: number;
|
356
|
+
const WSAECONNRESET: number;
|
357
|
+
const WSAENOBUFS: number;
|
358
|
+
const WSAEISCONN: number;
|
359
|
+
const WSAENOTCONN: number;
|
360
|
+
const WSAESHUTDOWN: number;
|
361
|
+
const WSAETOOMANYREFS: number;
|
362
|
+
const WSAETIMEDOUT: number;
|
363
|
+
const WSAECONNREFUSED: number;
|
364
|
+
const WSAELOOP: number;
|
365
|
+
const WSAENAMETOOLONG: number;
|
366
|
+
const WSAEHOSTDOWN: number;
|
367
|
+
const WSAEHOSTUNREACH: number;
|
368
|
+
const WSAENOTEMPTY: number;
|
369
|
+
const WSAEPROCLIM: number;
|
370
|
+
const WSAEUSERS: number;
|
371
|
+
const WSAEDQUOT: number;
|
372
|
+
const WSAESTALE: number;
|
373
|
+
const WSAEREMOTE: number;
|
374
|
+
const WSASYSNOTREADY: number;
|
375
|
+
const WSAVERNOTSUPPORTED: number;
|
376
|
+
const WSANOTINITIALISED: number;
|
377
|
+
const WSAEDISCON: number;
|
378
|
+
const WSAENOMORE: number;
|
379
|
+
const WSAECANCELLED: number;
|
380
|
+
const WSAEINVALIDPROCTABLE: number;
|
381
|
+
const WSAEINVALIDPROVIDER: number;
|
382
|
+
const WSAEPROVIDERFAILEDINIT: number;
|
383
|
+
const WSASYSCALLFAILURE: number;
|
384
|
+
const WSASERVICE_NOT_FOUND: number;
|
385
|
+
const WSATYPE_NOT_FOUND: number;
|
386
|
+
const WSA_E_NO_MORE: number;
|
387
|
+
const WSA_E_CANCELLED: number;
|
388
|
+
const WSAEREFUSED: number;
|
389
|
+
}
|
390
|
+
namespace priority {
|
391
|
+
const PRIORITY_LOW: number;
|
392
|
+
const PRIORITY_BELOW_NORMAL: number;
|
393
|
+
const PRIORITY_NORMAL: number;
|
394
|
+
const PRIORITY_ABOVE_NORMAL: number;
|
395
|
+
const PRIORITY_HIGH: number;
|
396
|
+
const PRIORITY_HIGHEST: number;
|
397
|
+
}
|
398
|
+
}
|
399
|
+
const devNull: string;
|
400
|
+
const EOL: string;
|
401
|
+
/**
|
402
|
+
* Returns the operating system CPU architecture for which the Node.js binary was
|
403
|
+
* compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'loong64'`,`'mips'`, `'mipsel'`, `'ppc'`, `'ppc64'`, `'riscv64'`, `'s390'`, `'s390x'`,
|
404
|
+
* and `'x64'`.
|
405
|
+
*
|
406
|
+
* The return value is equivalent to `process.arch`.
|
407
|
+
* @since v0.5.0
|
408
|
+
*/
|
409
|
+
function arch(): string;
|
410
|
+
/**
|
411
|
+
* Returns a string identifying the kernel version.
|
412
|
+
*
|
413
|
+
* On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not
|
414
|
+
* available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
|
415
|
+
* @since v13.11.0, v12.17.0
|
416
|
+
*/
|
417
|
+
function version(): string;
|
418
|
+
/**
|
419
|
+
* Returns a string identifying the operating system platform for which
|
420
|
+
* the Node.js binary was compiled. The value is set at compile time.
|
421
|
+
* Possible values are `'aix'`, `'darwin'`, `'freebsd'`,`'linux'`,`'openbsd'`, `'sunos'`, and `'win32'`.
|
422
|
+
*
|
423
|
+
* The return value is equivalent to `process.platform`.
|
424
|
+
*
|
425
|
+
* The value `'android'` may also be returned if Node.js is built on the Android
|
426
|
+
* operating system. [Android support is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os).
|
427
|
+
* @since v0.5.0
|
428
|
+
*/
|
429
|
+
function platform(): NodeJS.Platform;
|
430
|
+
/**
|
431
|
+
* Returns the machine type as a string, such as `arm`, `arm64`, `aarch64`,`mips`, `mips64`, `ppc64`, `ppc64le`, `s390`, `s390x`, `i386`, `i686`, `x86_64`.
|
432
|
+
*
|
433
|
+
* On POSIX systems, the machine type is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not
|
434
|
+
* available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
|
435
|
+
* @since v18.9.0, v16.18.0
|
436
|
+
*/
|
437
|
+
function machine(): string;
|
438
|
+
/**
|
439
|
+
* Returns the operating system's default directory for temporary files as a
|
440
|
+
* string.
|
441
|
+
* @since v0.9.9
|
442
|
+
*/
|
443
|
+
function tmpdir(): string;
|
444
|
+
/**
|
445
|
+
* Returns a string identifying the endianness of the CPU for which the Node.js
|
446
|
+
* binary was compiled.
|
447
|
+
*
|
448
|
+
* Possible values are `'BE'` for big endian and `'LE'` for little endian.
|
449
|
+
* @since v0.9.4
|
450
|
+
*/
|
451
|
+
function endianness(): "BE" | "LE";
|
452
|
+
/**
|
453
|
+
* Returns the scheduling priority for the process specified by `pid`. If `pid` is
|
454
|
+
* not provided or is `0`, the priority of the current process is returned.
|
455
|
+
* @since v10.10.0
|
456
|
+
* @param [pid=0] The process ID to retrieve scheduling priority for.
|
457
|
+
*/
|
458
|
+
function getPriority(pid?: number): number;
|
459
|
+
/**
|
460
|
+
* Attempts to set the scheduling priority for the process specified by `pid`. If`pid` is not provided or is `0`, the process ID of the current process is used.
|
461
|
+
*
|
462
|
+
* The `priority` input must be an integer between `-20` (high priority) and `19`(low priority). Due to differences between Unix priority levels and Windows
|
463
|
+
* priority classes, `priority` is mapped to one of six priority constants in`os.constants.priority`. When retrieving a process priority level, this range
|
464
|
+
* mapping may cause the return value to be slightly different on Windows. To avoid
|
465
|
+
* confusion, set `priority` to one of the priority constants.
|
466
|
+
*
|
467
|
+
* On Windows, setting priority to `PRIORITY_HIGHEST` requires elevated user
|
468
|
+
* privileges. Otherwise the set priority will be silently reduced to`PRIORITY_HIGH`.
|
469
|
+
* @since v10.10.0
|
470
|
+
* @param [pid=0] The process ID to set scheduling priority for.
|
471
|
+
* @param priority The scheduling priority to assign to the process.
|
472
|
+
*/
|
473
|
+
function setPriority(priority: number): void;
|
474
|
+
function setPriority(pid: number, priority: number): void;
|
475
|
+
}
|
476
|
+
declare module "node:os" {
|
477
|
+
export * from "os";
|
478
|
+
}
|