6.0.0 • Published 6 months ago

registry-url v6.0.0

Weekly downloads
8,886,501
License
MIT
Repository
github
Last release
6 months ago

registry-url

Get the set npm registry URL

It's usually https://registry.npmjs.org/, but it's configurable.

Use this if you do anything with the npm registry as users will expect it to use their configured registry.

Install

$ npm install registry-url

Usage

# .npmrc
registry = 'https://custom-registry.com/'
import registryUrl from 'registry-url';

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

It can also retrieve the registry URL associated with an npm scope.

# .npmrc
@myco:registry = 'https://custom-registry.com/'
import registryUrl from 'registry-url';

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

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.


package-jsonreact-native-bluetooth2killi8n-react-native-fast-image@cashremit/cr-streamline-iconscheck-dependency-enginesairscanairscan-examplereact-native-esc-pos-sahaab@borisovart/atol-kkt-moduledeneme323112@ntt_app/react-native-custom-notification@vandai-nguyen/module_testdiscord-music-botsreact-native-covid-sdk@syberos/cli@slsplus/core@rstacruz/pnpm@saeon/logger@saeon/ol-react@saeon/snap-menusalpha-cimildev-dharma-climod-dep-modmultipackmotiongamelist-npm-contents3.0.0ls-remote-versionsmiracle-webpack-tree-shaking@akepinski/package-json@datalogic/react-native-datalogic-modulelazy-bee-uinative-google-login@auto-canary/npm@auto-it/npm@apardellass/react-native-audio-streamnative-apple-loginnative-kakao-loginnice-registryqute-cli-corequte-cli-utilnpm-emailnpm-mannpm-namenpm-remote-lsnpm-artnpm-collection-npm-toolsnpm-utilsnpm-whatisnpm-is-availablenpm-keywordnpm-keyword-scrapernpm-latest-versionnpm-package-info@arcblock/forge-clioe-npm-keywordoe-package-jsonover-armour-masterpackumentpackage-meta-dpackage-infopackage-json-pluspackage-json-strict-sslpnpm.jsnpms-keywordnpmtest-05041react-native-contact-listreact-native-flyyreact-native-dsphoto-modulereact-native-biometric-authenticatereact-native-is7react-native-modal-progress-barreact-native-plugpag-wrapperreact-native-kakao-mapsreact-native-responsive-sizereact-native-test-module-hhhreact-native-pulsator-nativeset-npm-auth-token-for-cirepo-cookerroyman-experiment-npm-publishregistry-inforegistry-package-inforegistry-swapsb-package-infosearch-npm-registryreact-native-ytximkitreact-picky-with-clearrfp-lib@felipesimmi/react-native-datalogic-module@ergonode/available-modulessindredashsindresorhus.js@geeky-apo/react-native-advanced-clipboard@newdash/npm-update-allvue-v3-yandex-metrika@intuit-auto/npm@blackpepper/enforce@buurman/cache@buurman/sdk@kacao/chops
6.0.0

6 months ago

5.1.0

3 years ago

5.0.0

3 years ago

4.0.0

3 years ago

3.1.0

6 years ago

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago