Uname: Linux webm016.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 7.4.33 [ PHP INFO ] PHP os: Linux
Server Ip: 54.36.31.145
Your Ip: 216.73.216.182
User: homesquasz (91404) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : index.d.ts
declare const registryUrl: {
	/**
	Get the set npm registry URL.

	@param scope - Retrieve the registry URL associated with an [npm scope](https://docs.npmjs.com/misc/scope). If the provided scope is not in the user's `.npmrc` file, then `registry-url` will check for the existence of `registry`, or if that's not set, fallback to the default npm registry.

	@example
	```
	import registryUrl = require('registry-url');

	// # .npmrc
	// registry = 'https://custom-registry.com/'

	console.log(registryUrl());
	//=> 'https://custom-registry.com/'


	// # .npmrc
	// @myco:registry = 'https://custom-registry.com/'

	console.log(registryUrl('@myco'));
	//=> 'https://custom-registry.com/'
	```
	*/
	(scope?: string): string;

	// TODO: Remove this for the next major release, refactor the whole definition to:
	// declare function registryUrl(scope?: string): string;
	// export = registryUrl;
	default: typeof registryUrl;
};

export = registryUrl;
© 2026 GrazzMean