rahad-all-downloader 2.1.3 → 2.1.5
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/replit/modules/nix.res +1 -0
- package/.cache/replit/nix/env.json +1 -1
- package/.cache/typescript/5.4/node_modules/.package-lock.json +0 -88
- package/.cache/typescript/5.4/package-lock.json +0 -90
- package/.cache/typescript/5.4/package.json +1 -1
- package/.replit +4 -4
- package/README.md +14 -2
- package/index.js +1 -1
- package/package.json +3 -18
- package/.cache/replit/__replit_disk_meta.json +0 -1
- package/.cache/typescript/5.0/node_modules/.package-lock.json +0 -12
- package/.cache/typescript/5.0/node_modules/types-registry/README.md +0 -2
- package/.cache/typescript/5.0/node_modules/types-registry/index.json +0 -1
- package/.cache/typescript/5.0/node_modules/types-registry/package.json +0 -20
- package/.cache/typescript/5.0/package-lock.json +0 -17
- package/.cache/typescript/5.0/package.json +0 -1
- package/.cache/typescript/5.3/node_modules/.package-lock.json +0 -99
- package/.cache/typescript/5.3/node_modules/@types/node/LICENSE +0 -21
- package/.cache/typescript/5.3/node_modules/@types/node/README.md +0 -15
- package/.cache/typescript/5.3/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/.cache/typescript/5.3/node_modules/@types/node/assert.d.ts +0 -996
- package/.cache/typescript/5.3/node_modules/@types/node/async_hooks.d.ts +0 -539
- package/.cache/typescript/5.3/node_modules/@types/node/buffer.d.ts +0 -2362
- package/.cache/typescript/5.3/node_modules/@types/node/child_process.d.ts +0 -1540
- package/.cache/typescript/5.3/node_modules/@types/node/cluster.d.ts +0 -432
- package/.cache/typescript/5.3/node_modules/@types/node/console.d.ts +0 -415
- package/.cache/typescript/5.3/node_modules/@types/node/constants.d.ts +0 -19
- package/.cache/typescript/5.3/node_modules/@types/node/crypto.d.ts +0 -4456
- package/.cache/typescript/5.3/node_modules/@types/node/dgram.d.ts +0 -586
- package/.cache/typescript/5.3/node_modules/@types/node/diagnostics_channel.d.ts +0 -191
- package/.cache/typescript/5.3/node_modules/@types/node/dns/promises.d.ts +0 -425
- package/.cache/typescript/5.3/node_modules/@types/node/dns.d.ts +0 -809
- package/.cache/typescript/5.3/node_modules/@types/node/dom-events.d.ts +0 -122
- package/.cache/typescript/5.3/node_modules/@types/node/domain.d.ts +0 -170
- package/.cache/typescript/5.3/node_modules/@types/node/events.d.ts +0 -879
- package/.cache/typescript/5.3/node_modules/@types/node/fs/promises.d.ts +0 -1239
- package/.cache/typescript/5.3/node_modules/@types/node/fs.d.ts +0 -4291
- package/.cache/typescript/5.3/node_modules/@types/node/globals.d.ts +0 -385
- package/.cache/typescript/5.3/node_modules/@types/node/globals.global.d.ts +0 -1
- package/.cache/typescript/5.3/node_modules/@types/node/http.d.ts +0 -1888
- package/.cache/typescript/5.3/node_modules/@types/node/http2.d.ts +0 -2382
- package/.cache/typescript/5.3/node_modules/@types/node/https.d.ts +0 -550
- package/.cache/typescript/5.3/node_modules/@types/node/index.d.ts +0 -88
- package/.cache/typescript/5.3/node_modules/@types/node/inspector.d.ts +0 -2747
- package/.cache/typescript/5.3/node_modules/@types/node/module.d.ts +0 -301
- package/.cache/typescript/5.3/node_modules/@types/node/net.d.ts +0 -949
- package/.cache/typescript/5.3/node_modules/@types/node/os.d.ts +0 -478
- package/.cache/typescript/5.3/node_modules/@types/node/package.json +0 -230
- package/.cache/typescript/5.3/node_modules/@types/node/path.d.ts +0 -191
- package/.cache/typescript/5.3/node_modules/@types/node/perf_hooks.d.ts +0 -639
- package/.cache/typescript/5.3/node_modules/@types/node/process.d.ts +0 -1539
- package/.cache/typescript/5.3/node_modules/@types/node/punycode.d.ts +0 -117
- package/.cache/typescript/5.3/node_modules/@types/node/querystring.d.ts +0 -141
- package/.cache/typescript/5.3/node_modules/@types/node/readline/promises.d.ts +0 -150
- package/.cache/typescript/5.3/node_modules/@types/node/readline.d.ts +0 -539
- package/.cache/typescript/5.3/node_modules/@types/node/repl.d.ts +0 -430
- package/.cache/typescript/5.3/node_modules/@types/node/stream/consumers.d.ts +0 -12
- package/.cache/typescript/5.3/node_modules/@types/node/stream/promises.d.ts +0 -83
- package/.cache/typescript/5.3/node_modules/@types/node/stream/web.d.ts +0 -350
- package/.cache/typescript/5.3/node_modules/@types/node/stream.d.ts +0 -1701
- package/.cache/typescript/5.3/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/.cache/typescript/5.3/node_modules/@types/node/test.d.ts +0 -1382
- package/.cache/typescript/5.3/node_modules/@types/node/timers/promises.d.ts +0 -93
- package/.cache/typescript/5.3/node_modules/@types/node/timers.d.ts +0 -240
- package/.cache/typescript/5.3/node_modules/@types/node/tls.d.ts +0 -1210
- package/.cache/typescript/5.3/node_modules/@types/node/trace_events.d.ts +0 -182
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/console.d.ts +0 -415
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4455
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dgram.d.ts +0 -586
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/events.d.ts +0 -879
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/fs.d.ts +0 -4291
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/globals.d.ts +0 -385
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/http.d.ts +0 -1888
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/https.d.ts +0 -550
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/index.d.ts +0 -88
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/module.d.ts +0 -301
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/net.d.ts +0 -949
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/os.d.ts +0 -478
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/path.d.ts +0 -191
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -639
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/process.d.ts +0 -1539
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -350
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/test.d.ts +0 -1382
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/url.d.ts +0 -927
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
- package/.cache/typescript/5.3/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
- package/.cache/typescript/5.3/node_modules/@types/node/tty.d.ts +0 -208
- package/.cache/typescript/5.3/node_modules/@types/node/url.d.ts +0 -927
- package/.cache/typescript/5.3/node_modules/@types/node/util.d.ts +0 -2183
- package/.cache/typescript/5.3/node_modules/@types/node/v8.d.ts +0 -635
- package/.cache/typescript/5.3/node_modules/@types/node/vm.d.ts +0 -903
- package/.cache/typescript/5.3/node_modules/@types/node/wasi.d.ts +0 -158
- package/.cache/typescript/5.3/node_modules/@types/node/worker_threads.d.ts +0 -691
- package/.cache/typescript/5.3/node_modules/@types/node/zlib.d.ts +0 -517
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/LICENSE +0 -21
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/README.md +0 -15
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/externals.d.ts +0 -32
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/index.d.ts +0 -214
- package/.cache/typescript/5.3/node_modules/@types/node-fetch/package.json +0 -83
- package/.cache/typescript/5.3/node_modules/asynckit/LICENSE +0 -21
- package/.cache/typescript/5.3/node_modules/asynckit/README.md +0 -233
- package/.cache/typescript/5.3/node_modules/asynckit/bench.js +0 -76
- package/.cache/typescript/5.3/node_modules/asynckit/index.js +0 -6
- package/.cache/typescript/5.3/node_modules/asynckit/lib/abort.js +0 -29
- package/.cache/typescript/5.3/node_modules/asynckit/lib/async.js +0 -34
- package/.cache/typescript/5.3/node_modules/asynckit/lib/defer.js +0 -26
- package/.cache/typescript/5.3/node_modules/asynckit/lib/iterate.js +0 -75
- package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_asynckit.js +0 -91
- package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_parallel.js +0 -25
- package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_serial.js +0 -25
- package/.cache/typescript/5.3/node_modules/asynckit/lib/readable_serial_ordered.js +0 -29
- package/.cache/typescript/5.3/node_modules/asynckit/lib/state.js +0 -37
- package/.cache/typescript/5.3/node_modules/asynckit/lib/streamify.js +0 -141
- package/.cache/typescript/5.3/node_modules/asynckit/lib/terminator.js +0 -29
- package/.cache/typescript/5.3/node_modules/asynckit/package.json +0 -63
- package/.cache/typescript/5.3/node_modules/asynckit/parallel.js +0 -43
- package/.cache/typescript/5.3/node_modules/asynckit/serial.js +0 -17
- package/.cache/typescript/5.3/node_modules/asynckit/serialOrdered.js +0 -75
- package/.cache/typescript/5.3/node_modules/asynckit/stream.js +0 -21
- package/.cache/typescript/5.3/node_modules/combined-stream/License +0 -19
- package/.cache/typescript/5.3/node_modules/combined-stream/Readme.md +0 -138
- package/.cache/typescript/5.3/node_modules/combined-stream/lib/combined_stream.js +0 -208
- package/.cache/typescript/5.3/node_modules/combined-stream/package.json +0 -25
- package/.cache/typescript/5.3/node_modules/combined-stream/yarn.lock +0 -17
- package/.cache/typescript/5.3/node_modules/delayed-stream/License +0 -19
- package/.cache/typescript/5.3/node_modules/delayed-stream/Makefile +0 -7
- package/.cache/typescript/5.3/node_modules/delayed-stream/Readme.md +0 -141
- package/.cache/typescript/5.3/node_modules/delayed-stream/lib/delayed_stream.js +0 -107
- package/.cache/typescript/5.3/node_modules/delayed-stream/package.json +0 -27
- package/.cache/typescript/5.3/node_modules/form-data/License +0 -19
- package/.cache/typescript/5.3/node_modules/form-data/README.md.bak +0 -358
- package/.cache/typescript/5.3/node_modules/form-data/Readme.md +0 -358
- package/.cache/typescript/5.3/node_modules/form-data/index.d.ts +0 -62
- package/.cache/typescript/5.3/node_modules/form-data/lib/browser.js +0 -2
- package/.cache/typescript/5.3/node_modules/form-data/lib/form_data.js +0 -501
- package/.cache/typescript/5.3/node_modules/form-data/lib/populate.js +0 -10
- package/.cache/typescript/5.3/node_modules/form-data/package.json +0 -68
- package/.cache/typescript/5.3/node_modules/mime-db/HISTORY.md +0 -507
- package/.cache/typescript/5.3/node_modules/mime-db/LICENSE +0 -23
- package/.cache/typescript/5.3/node_modules/mime-db/README.md +0 -100
- package/.cache/typescript/5.3/node_modules/mime-db/db.json +0 -8519
- package/.cache/typescript/5.3/node_modules/mime-db/index.js +0 -12
- package/.cache/typescript/5.3/node_modules/mime-db/package.json +0 -60
- package/.cache/typescript/5.3/node_modules/mime-types/HISTORY.md +0 -397
- package/.cache/typescript/5.3/node_modules/mime-types/LICENSE +0 -23
- package/.cache/typescript/5.3/node_modules/mime-types/README.md +0 -113
- package/.cache/typescript/5.3/node_modules/mime-types/index.js +0 -188
- package/.cache/typescript/5.3/node_modules/mime-types/package.json +0 -44
- package/.cache/typescript/5.3/node_modules/types-registry/README.md +0 -2
- package/.cache/typescript/5.3/node_modules/types-registry/index.json +0 -1
- package/.cache/typescript/5.3/node_modules/types-registry/package.json +0 -20
- package/.cache/typescript/5.3/node_modules/undici-types/README.md +0 -6
- package/.cache/typescript/5.3/node_modules/undici-types/agent.d.ts +0 -31
- package/.cache/typescript/5.3/node_modules/undici-types/api.d.ts +0 -43
- package/.cache/typescript/5.3/node_modules/undici-types/balanced-pool.d.ts +0 -18
- package/.cache/typescript/5.3/node_modules/undici-types/cache.d.ts +0 -36
- package/.cache/typescript/5.3/node_modules/undici-types/client.d.ts +0 -97
- package/.cache/typescript/5.3/node_modules/undici-types/connector.d.ts +0 -34
- package/.cache/typescript/5.3/node_modules/undici-types/content-type.d.ts +0 -21
- package/.cache/typescript/5.3/node_modules/undici-types/cookies.d.ts +0 -28
- package/.cache/typescript/5.3/node_modules/undici-types/diagnostics-channel.d.ts +0 -67
- package/.cache/typescript/5.3/node_modules/undici-types/dispatcher.d.ts +0 -241
- package/.cache/typescript/5.3/node_modules/undici-types/errors.d.ts +0 -128
- package/.cache/typescript/5.3/node_modules/undici-types/fetch.d.ts +0 -209
- package/.cache/typescript/5.3/node_modules/undici-types/file.d.ts +0 -39
- package/.cache/typescript/5.3/node_modules/undici-types/filereader.d.ts +0 -54
- package/.cache/typescript/5.3/node_modules/undici-types/formdata.d.ts +0 -108
- package/.cache/typescript/5.3/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/.cache/typescript/5.3/node_modules/undici-types/global-origin.d.ts +0 -7
- package/.cache/typescript/5.3/node_modules/undici-types/handlers.d.ts +0 -9
- package/.cache/typescript/5.3/node_modules/undici-types/header.d.ts +0 -4
- package/.cache/typescript/5.3/node_modules/undici-types/index.d.ts +0 -63
- package/.cache/typescript/5.3/node_modules/undici-types/interceptors.d.ts +0 -5
- package/.cache/typescript/5.3/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/.cache/typescript/5.3/node_modules/undici-types/mock-client.d.ts +0 -25
- package/.cache/typescript/5.3/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/.cache/typescript/5.3/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/.cache/typescript/5.3/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/.cache/typescript/5.3/node_modules/undici-types/package.json +0 -55
- package/.cache/typescript/5.3/node_modules/undici-types/patch.d.ts +0 -71
- package/.cache/typescript/5.3/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/.cache/typescript/5.3/node_modules/undici-types/pool.d.ts +0 -28
- package/.cache/typescript/5.3/node_modules/undici-types/proxy-agent.d.ts +0 -30
- package/.cache/typescript/5.3/node_modules/undici-types/readable.d.ts +0 -61
- package/.cache/typescript/5.3/node_modules/undici-types/webidl.d.ts +0 -220
- package/.cache/typescript/5.3/node_modules/undici-types/websocket.d.ts +0 -131
- package/.cache/typescript/5.3/package-lock.json +0 -107
- package/.cache/typescript/5.3/package.json +0 -1
- package/.cache/typescript/5.4/node_modules/@types/body-parser/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/body-parser/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/body-parser/index.d.ts +0 -95
- package/.cache/typescript/5.4/node_modules/@types/body-parser/package.json +0 -58
- package/.cache/typescript/5.4/node_modules/@types/connect/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/connect/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/connect/index.d.ts +0 -91
- package/.cache/typescript/5.4/node_modules/@types/connect/package.json +0 -32
- package/.cache/typescript/5.4/node_modules/@types/express/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/express/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/express/index.d.ts +0 -128
- package/.cache/typescript/5.4/node_modules/@types/express/package.json +0 -45
- package/.cache/typescript/5.4/node_modules/@types/express-serve-static-core/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/express-serve-static-core/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/express-serve-static-core/index.d.ts +0 -1295
- package/.cache/typescript/5.4/node_modules/@types/express-serve-static-core/package.json +0 -50
- package/.cache/typescript/5.4/node_modules/@types/http-errors/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/http-errors/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/http-errors/index.d.ts +0 -77
- package/.cache/typescript/5.4/node_modules/@types/http-errors/package.json +0 -30
- package/.cache/typescript/5.4/node_modules/@types/mime/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/mime/Mime.d.ts +0 -10
- package/.cache/typescript/5.4/node_modules/@types/mime/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/mime/index.d.ts +0 -31
- package/.cache/typescript/5.4/node_modules/@types/mime/lite.d.ts +0 -7
- package/.cache/typescript/5.4/node_modules/@types/mime/package.json +0 -30
- package/.cache/typescript/5.4/node_modules/@types/qs/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/qs/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/qs/index.d.ts +0 -79
- package/.cache/typescript/5.4/node_modules/@types/qs/package.json +0 -65
- package/.cache/typescript/5.4/node_modules/@types/range-parser/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/range-parser/README.md +0 -53
- package/.cache/typescript/5.4/node_modules/@types/range-parser/index.d.ts +0 -34
- package/.cache/typescript/5.4/node_modules/@types/range-parser/package.json +0 -25
- package/.cache/typescript/5.4/node_modules/@types/send/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/send/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/send/index.d.ts +0 -225
- package/.cache/typescript/5.4/node_modules/@types/send/package.json +0 -33
- package/.cache/typescript/5.4/node_modules/@types/serve-static/LICENSE +0 -21
- package/.cache/typescript/5.4/node_modules/@types/serve-static/README.md +0 -15
- package/.cache/typescript/5.4/node_modules/@types/serve-static/index.d.ts +0 -107
- package/.cache/typescript/5.4/node_modules/@types/serve-static/package.json +0 -39
- package/.upm/store.json +0 -1
@@ -1,478 +0,0 @@
|
|
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
|
-
}
|
@@ -1,191 +0,0 @@
|
|
1
|
-
declare module "path/posix" {
|
2
|
-
import path = require("path");
|
3
|
-
export = path;
|
4
|
-
}
|
5
|
-
declare module "path/win32" {
|
6
|
-
import path = require("path");
|
7
|
-
export = path;
|
8
|
-
}
|
9
|
-
/**
|
10
|
-
* The `node:path` module provides utilities for working with file and directory
|
11
|
-
* paths. It can be accessed using:
|
12
|
-
*
|
13
|
-
* ```js
|
14
|
-
* const path = require('node:path');
|
15
|
-
* ```
|
16
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/path.js)
|
17
|
-
*/
|
18
|
-
declare module "path" {
|
19
|
-
namespace path {
|
20
|
-
/**
|
21
|
-
* A parsed path object generated by path.parse() or consumed by path.format().
|
22
|
-
*/
|
23
|
-
interface ParsedPath {
|
24
|
-
/**
|
25
|
-
* The root of the path such as '/' or 'c:\'
|
26
|
-
*/
|
27
|
-
root: string;
|
28
|
-
/**
|
29
|
-
* The full directory path such as '/home/user/dir' or 'c:\path\dir'
|
30
|
-
*/
|
31
|
-
dir: string;
|
32
|
-
/**
|
33
|
-
* The file name including extension (if any) such as 'index.html'
|
34
|
-
*/
|
35
|
-
base: string;
|
36
|
-
/**
|
37
|
-
* The file extension (if any) such as '.html'
|
38
|
-
*/
|
39
|
-
ext: string;
|
40
|
-
/**
|
41
|
-
* The file name without extension (if any) such as 'index'
|
42
|
-
*/
|
43
|
-
name: string;
|
44
|
-
}
|
45
|
-
interface FormatInputPathObject {
|
46
|
-
/**
|
47
|
-
* The root of the path such as '/' or 'c:\'
|
48
|
-
*/
|
49
|
-
root?: string | undefined;
|
50
|
-
/**
|
51
|
-
* The full directory path such as '/home/user/dir' or 'c:\path\dir'
|
52
|
-
*/
|
53
|
-
dir?: string | undefined;
|
54
|
-
/**
|
55
|
-
* The file name including extension (if any) such as 'index.html'
|
56
|
-
*/
|
57
|
-
base?: string | undefined;
|
58
|
-
/**
|
59
|
-
* The file extension (if any) such as '.html'
|
60
|
-
*/
|
61
|
-
ext?: string | undefined;
|
62
|
-
/**
|
63
|
-
* The file name without extension (if any) such as 'index'
|
64
|
-
*/
|
65
|
-
name?: string | undefined;
|
66
|
-
}
|
67
|
-
interface PlatformPath {
|
68
|
-
/**
|
69
|
-
* Normalize a string path, reducing '..' and '.' parts.
|
70
|
-
* When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
|
71
|
-
*
|
72
|
-
* @param path string path to normalize.
|
73
|
-
* @throws {TypeError} if `path` is not a string.
|
74
|
-
*/
|
75
|
-
normalize(path: string): string;
|
76
|
-
/**
|
77
|
-
* Join all arguments together and normalize the resulting path.
|
78
|
-
*
|
79
|
-
* @param paths paths to join.
|
80
|
-
* @throws {TypeError} if any of the path segments is not a string.
|
81
|
-
*/
|
82
|
-
join(...paths: string[]): string;
|
83
|
-
/**
|
84
|
-
* The right-most parameter is considered {to}. Other parameters are considered an array of {from}.
|
85
|
-
*
|
86
|
-
* Starting from leftmost {from} parameter, resolves {to} to an absolute path.
|
87
|
-
*
|
88
|
-
* If {to} isn't already absolute, {from} arguments are prepended in right to left order,
|
89
|
-
* until an absolute path is found. If after using all {from} paths still no absolute path is found,
|
90
|
-
* the current working directory is used as well. The resulting path is normalized,
|
91
|
-
* and trailing slashes are removed unless the path gets resolved to the root directory.
|
92
|
-
*
|
93
|
-
* @param paths A sequence of paths or path segments.
|
94
|
-
* @throws {TypeError} if any of the arguments is not a string.
|
95
|
-
*/
|
96
|
-
resolve(...paths: string[]): string;
|
97
|
-
/**
|
98
|
-
* Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.
|
99
|
-
*
|
100
|
-
* If the given {path} is a zero-length string, `false` will be returned.
|
101
|
-
*
|
102
|
-
* @param path path to test.
|
103
|
-
* @throws {TypeError} if `path` is not a string.
|
104
|
-
*/
|
105
|
-
isAbsolute(path: string): boolean;
|
106
|
-
/**
|
107
|
-
* Solve the relative path from {from} to {to} based on the current working directory.
|
108
|
-
* At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve.
|
109
|
-
*
|
110
|
-
* @throws {TypeError} if either `from` or `to` is not a string.
|
111
|
-
*/
|
112
|
-
relative(from: string, to: string): string;
|
113
|
-
/**
|
114
|
-
* Return the directory name of a path. Similar to the Unix dirname command.
|
115
|
-
*
|
116
|
-
* @param path the path to evaluate.
|
117
|
-
* @throws {TypeError} if `path` is not a string.
|
118
|
-
*/
|
119
|
-
dirname(path: string): string;
|
120
|
-
/**
|
121
|
-
* Return the last portion of a path. Similar to the Unix basename command.
|
122
|
-
* Often used to extract the file name from a fully qualified path.
|
123
|
-
*
|
124
|
-
* @param path the path to evaluate.
|
125
|
-
* @param suffix optionally, an extension to remove from the result.
|
126
|
-
* @throws {TypeError} if `path` is not a string or if `ext` is given and is not a string.
|
127
|
-
*/
|
128
|
-
basename(path: string, suffix?: string): string;
|
129
|
-
/**
|
130
|
-
* Return the extension of the path, from the last '.' to end of string in the last portion of the path.
|
131
|
-
* If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string.
|
132
|
-
*
|
133
|
-
* @param path the path to evaluate.
|
134
|
-
* @throws {TypeError} if `path` is not a string.
|
135
|
-
*/
|
136
|
-
extname(path: string): string;
|
137
|
-
/**
|
138
|
-
* The platform-specific file separator. '\\' or '/'.
|
139
|
-
*/
|
140
|
-
readonly sep: "\\" | "/";
|
141
|
-
/**
|
142
|
-
* The platform-specific file delimiter. ';' or ':'.
|
143
|
-
*/
|
144
|
-
readonly delimiter: ";" | ":";
|
145
|
-
/**
|
146
|
-
* Returns an object from a path string - the opposite of format().
|
147
|
-
*
|
148
|
-
* @param path path to evaluate.
|
149
|
-
* @throws {TypeError} if `path` is not a string.
|
150
|
-
*/
|
151
|
-
parse(path: string): ParsedPath;
|
152
|
-
/**
|
153
|
-
* Returns a path string from an object - the opposite of parse().
|
154
|
-
*
|
155
|
-
* @param pathObject path to evaluate.
|
156
|
-
*/
|
157
|
-
format(pathObject: FormatInputPathObject): string;
|
158
|
-
/**
|
159
|
-
* On Windows systems only, returns an equivalent namespace-prefixed path for the given path.
|
160
|
-
* If path is not a string, path will be returned without modifications.
|
161
|
-
* This method is meaningful only on Windows system.
|
162
|
-
* On POSIX systems, the method is non-operational and always returns path without modifications.
|
163
|
-
*/
|
164
|
-
toNamespacedPath(path: string): string;
|
165
|
-
/**
|
166
|
-
* Posix specific pathing.
|
167
|
-
* Same as parent object on posix.
|
168
|
-
*/
|
169
|
-
readonly posix: PlatformPath;
|
170
|
-
/**
|
171
|
-
* Windows specific pathing.
|
172
|
-
* Same as parent object on windows
|
173
|
-
*/
|
174
|
-
readonly win32: PlatformPath;
|
175
|
-
}
|
176
|
-
}
|
177
|
-
const path: path.PlatformPath;
|
178
|
-
export = path;
|
179
|
-
}
|
180
|
-
declare module "node:path" {
|
181
|
-
import path = require("path");
|
182
|
-
export = path;
|
183
|
-
}
|
184
|
-
declare module "node:path/posix" {
|
185
|
-
import path = require("path/posix");
|
186
|
-
export = path;
|
187
|
-
}
|
188
|
-
declare module "node:path/win32" {
|
189
|
-
import path = require("path/win32");
|
190
|
-
export = path;
|
191
|
-
}
|