6.0.1 • Published 3 years ago

registry-url v6.0.1

Weekly downloads
8,886,501
License
MIT
Repository
github
Last release
3 years 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-jsonarchetype-libraryeasy-select-rnreact-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-notificationdiscord-music-botsreact-native-covid-sdk@saeon/quick-formmysql-formatreact-native-printer-brothersreact-native-shekhar-bridge-testcogoportutilsdyx-react@oiti/documentoscopy-react-nativequoc-testunblock-block-save-variables@infinitebrahmanuniverse/nolb-regi@prodam/prodam-typesluminos-ui-core@everything-registry/sub-chunk-2644jawwy-sdkjawwy_gamification_releasereact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgreact-native-jawwy_samplegriffin-ui-librarytakintest-library-123test-haptik-libtest-project-hawkwnba-appsweb-component-tester-bundlewifi_configuration_packagewhatsconcsui-monorepotest-zeo-collectthanksvision-camera-plugin-face-detectorvision-camera-plugin-scan-facesvision-camera-base64-resizedvantiq-reactvite_vue3_ts_ssssdddddyyyy@cristianps1988/ds-template@cs6/react-native-test-native-view-library@con-test/react-native-concent-common@damruravihara/react-native-testing-package@cyberswap-dex/uniswap-sdk@corelmax/react-native-my2c2p-sdk@buurman/cache@buurman/sdk@rstacruz/pnpm@praella/localisationistgenerator-bootstrap-boilerplate-templatejrennsoh88-react-native-scroll-indicatorjesh-calculationjnf-accesscontrol-rnttljordy-frijters-test-libjametkikdkhaled-salem-custom-componentslazy-bee-ui3.0.0jawwy_library_newjawy_library_v1gamification-jawwy-libraryframework_test_library_sixdee_new_jawwytest_lib_module_aarquickcapture_react_nativern-agora-ios-mreact-native-omental-frameworkreact-native-sixdee_test_libstyle-guide-maintype-donetingzi-vuepressumeboshi-clitldrawlignintohsaka888-use-breakpointtools_may_24twine-libtwine-library@amiruldev/wajs@amirdiafi/react-native-ios-haptics@anthologen/npm-remote-ls@apardellass/react-native-audio-stream@arcblock/forge-cli@asiz33/smartblok-vendure-plugin@aviinash_jha/react-native-test_multiply@auto-canary/npm@auto-it/npm@ali5049/react-native-buttons
6.0.1

3 years ago

6.0.0

4 years ago

5.1.0

6 years ago

5.0.0

6 years ago

4.0.0

7 years ago

3.1.0

9 years ago

3.0.3

10 years ago

3.0.2

10 years ago

3.0.1

10 years ago

3.0.0

10 years ago

2.1.0

10 years ago

2.0.0

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago