404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.144.94.197: ~ $
declare const resolveFrom: {
	/**
	Resolve the path of a module like [`require.resolve()`](https://nodejs.org/api/globals.html#globals_require_resolve) but from a given path.

	@param fromDirectory - Directory to resolve from.
	@param moduleId - What you would use in `require()`.
	@returns Resolved module path. Throws when the module can't be found.

	@example
	```
	import resolveFrom = require('resolve-from');

	// There is a file at `./foo/bar.js`

	resolveFrom('foo', './bar');
	//=> '/Users/sindresorhus/dev/test/foo/bar.js'
	```
	*/
	(fromDirectory: string, moduleId: string): string;

	/**
	Resolve the path of a module like [`require.resolve()`](https://nodejs.org/api/globals.html#globals_require_resolve) but from a given path.

	@param fromDirectory - Directory to resolve from.
	@param moduleId - What you would use in `require()`.
	@returns Resolved module path or `undefined` when the module can't be found.
	*/
	silent(fromDirectory: string, moduleId: string): string | undefined;
};

export = resolveFrom;

Filemanager

Name Type Size Permission Actions
index.d.ts File 1 KB 0644
index.js File 1.17 KB 0644
license File 1.08 KB 0644
package.json File 622 B 0644
readme.md File 1.82 KB 0644