/
opt
/
canhelp
/
node_modules
/
@types
/
node
/
/opt/canhelp/node_modules/@types/node
mkdir
upload
Name
Size
Mode
Actions
assert/
-
0755
rm
compatibility/
-
0755
rm
dns/
-
0755
rm
fs/
-
0755
rm
readline/
-
0755
rm
stream/
-
0755
rm
timers/
-
0755
rm
ts5.6/
-
0755
rm
web-globals/
-
0755
rm
assert.d.ts
45270
0644
edit
dl
rm
async_hooks.d.ts
25553
0644
edit
dl
rm
buffer.buffer.d.ts
22839
0644
edit
dl
rm
buffer.d.ts
88244
0644
edit
dl
rm
child_process.d.ts
66722
0644
edit
dl
rm
cluster.d.ts
27926
0644
edit
dl
rm
console.d.ts
21249
0644
edit
dl
rm
constants.d.ts
816
0644
edit
dl
rm
crypto.d.ts
192007
0644
edit
dl
rm
dgram.d.ts
28114
0644
edit
dl
rm
diagnostics_channel.d.ts
25224
0644
edit
dl
rm
dns.d.ts
37027
0644
edit
dl
rm
domain.d.ts
7812
0644
edit
dl
rm
events.d.ts
44252
0644
edit
dl
rm
fs.d.ts
190341
0644
edit
dl
rm
globals.d.ts
6114
0644
edit
dl
rm
globals.typedarray.d.ts
1825
0644
edit
dl
rm
http.d.ts
92874
0644
edit
dl
rm
http2.d.ts
129797
0644
edit
dl
rm
https.d.ts
25856
0644
edit
dl
rm
index.d.ts
4146
0644
edit
dl
rm
inspector.d.ts
11019
0644
edit
dl
rm
inspector.generated.d.ts
205045
0644
edit
dl
rm
LICENSE
1141
0644
edit
dl
rm
module.d.ts
40283
0644
edit
dl
rm
net.d.ts
49205
0644
edit
dl
rm
os.d.ts
19431
0644
edit
dl
rm
package.json
4275
0644
edit
dl
rm
path.d.ts
8333
0644
edit
dl
rm
perf_hooks.d.ts
38425
0644
edit
dl
rm
process.d.ts
107574
0644
edit
dl
rm
punycode.d.ts
5479
0644
edit
dl
rm
querystring.d.ts
7125
0644
edit
dl
rm
readline.d.ts
25878
0644
edit
dl
rm
README.md
1541
0644
edit
dl
rm
repl.d.ts
19459
0644
edit
dl
rm
sea.d.ts
6195
0644
edit
dl
rm
sqlite.d.ts
36079
0644
edit
dl
rm
stream.d.ts
86756
0644
edit
dl
rm
string_decoder.d.ts
2809
0644
edit
dl
rm
test.d.ts
101442
0644
edit
dl
rm
timers.d.ts
14636
0644
edit
dl
rm
tls.d.ts
62617
0644
edit
dl
rm
trace_events.d.ts
8926
0644
edit
dl
rm
tty.d.ts
10053
0644
edit
dl
rm
url.d.ts
43390
0644
edit
dl
rm
util.d.ts
99419
0644
edit
dl
rm
v8.d.ts
38762
0644
edit
dl
rm
vm.d.ts
46012
0644
edit
dl
rm
wasi.d.ts
7944
0644
edit
dl
rm
worker_threads.d.ts
37728
0644
edit
dl
rm
zlib.d.ts
27954
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/@types/node/path.d.ts
(8333B)
declare module "path/posix" { import path = require("path"); export = path; } declare module "path/win32" { import path = require("path"); export = path; } /** * The `node:path` module provides utilities for working with file and directory * paths. It can be accessed using: * * ```js * import path from 'node:path'; * ``` * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/path.js) */ declare module "path" { namespace path { /** * A parsed path object generated by path.parse() or consumed by path.format(). */ interface ParsedPath { /** * The root of the path such as '/' or 'c:\' */ root: string; /** * The full directory path such as '/home/user/dir' or 'c:\path\dir' */ dir: string; /** * The file name including extension (if any) such as 'index.html' */ base: string; /** * The file extension (if any) such as '.html' */ ext: string; /** * The file name without extension (if any) such as 'index' */ name: string; } interface FormatInputPathObject { /** * The root of the path such as '/' or 'c:\' */ root?: string | undefined; /** * The full directory path such as '/home/user/dir' or 'c:\path\dir' */ dir?: string | undefined; /** * The file name including extension (if any) such as 'index.html' */ base?: string | undefined; /** * The file extension (if any) such as '.html' */ ext?: string | undefined; /** * The file name without extension (if any) such as 'index' */ name?: string | undefined; } interface PlatformPath { /** * Normalize a string path, reducing '..' and '.' parts. * 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. If the path is a zero-length string, '.' is returned, representing the current working directory. * * @param path string path to normalize. * @throws {TypeError} if `path` is not a string. */ normalize(path: string): string; /** * Join all arguments together and normalize the resulting path. * * @param paths paths to join. * @throws {TypeError} if any of the path segments is not a string. */ join(...paths: string[]): string; /** * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. * * Starting from leftmost {from} parameter, resolves {to} to an absolute path. * * If {to} isn't already absolute, {from} arguments are prepended in right to left order, * until an absolute path is found. If after using all {from} paths still no absolute path is found, * the current working directory is used as well. The resulting path is normalized, * and trailing slashes are removed unless the path gets resolved to the root directory. * * @param paths A sequence of paths or path segments. * @throws {TypeError} if any of the arguments is not a string. */ resolve(...paths: string[]): string; /** * The `path.matchesGlob()` method determines if `path` matches the `pattern`. * @param path The path to glob-match against. * @param pattern The glob to check the path against. * @returns Whether or not the `path` matched the `pattern`. * @throws {TypeError} if `path` or `pattern` are not strings. * @since v22.5.0 */ matchesGlob(path: string, pattern: string): boolean; /** * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. * * If the given {path} is a zero-length string, `false` will be returned. * * @param path path to test. * @throws {TypeError} if `path` is not a string. */ isAbsolute(path: string): boolean; /** * Solve the relative path from {from} to {to} based on the current working directory. * 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. * * @throws {TypeError} if either `from` or `to` is not a string. */ relative(from: string, to: string): string; /** * Return the directory name of a path. Similar to the Unix dirname command. * * @param path the path to evaluate. * @throws {TypeError} if `path` is not a string. */ dirname(path: string): string; /** * Return the last portion of a path. Similar to the Unix basename command. * Often used to extract the file name from a fully qualified path. * * @param path the path to evaluate. * @param suffix optionally, an extension to remove from the result. * @throws {TypeError} if `path` is not a string or if `ext` is given and is not a string. */ basename(path: string, suffix?: string): string; /** * Return the extension of the path, from the last '.' to end of string in the last portion of the path. * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string. * * @param path the path to evaluate. * @throws {TypeError} if `path` is not a string. */ extname(path: string): string; /** * The platform-specific file separator. '\\' or '/'. */ readonly sep: "\\" | "/"; /** * The platform-specific file delimiter. ';' or ':'. */ readonly delimiter: ";" | ":"; /** * Returns an object from a path string - the opposite of format(). * * @param path path to evaluate. * @throws {TypeError} if `path` is not a string. */ parse(path: string): ParsedPath; /** * Returns a path string from an object - the opposite of parse(). * * @param pathObject path to evaluate. */ format(pathObject: FormatInputPathObject): string; /** * On Windows systems only, returns an equivalent namespace-prefixed path for the given path. * If path is not a string, path will be returned without modifications. * This method is meaningful only on Windows system. * On POSIX systems, the method is non-operational and always returns path without modifications. */ toNamespacedPath(path: string): string; /** * Posix specific pathing. * Same as parent object on posix. */ readonly posix: PlatformPath; /** * Windows specific pathing. * Same as parent object on windows */ readonly win32: PlatformPath; } } const path: path.PlatformPath; export = path; } declare module "node:path" { import path = require("path"); export = path; } declare module "node:path/posix" { import path = require("path/posix"); export = path; } declare module "node:path/win32" { import path = require("path/win32"); export = path; }
Save
cmd:
run