UNPKG

1.06 kBJavaScriptView Raw
1/**
2 * npm registry
3 *
4 * @see {@link https://registry.npmjs.org}
5 */
6const npmRegistry = 'https://registry.npmjs.org';
7/**
8 * npm registry mirror by Cloudflare
9 *
10 * @remarks
11 * This registry has CORS enabled and can be used to retrieve
12 * package manifests and packuments in the browser.
13 *
14 * @see {@link https://npmjs.cf}
15 * @see {@link https://registry.npmjs.cf}
16 */
17
18const cloudflareRegistry = 'https://registry.npmjs.cf';
19/**
20 * npm registry mirror by Yarn
21 *
22 * @see {@link https://registry.yarnpkg.com}
23 */
24
25const yarnRegistry = 'https://registry.yarnpkg.com';
26/**
27 * Mirrors of the npm registry.
28 *
29 * @see {@link cloudflareRegistry}
30 * @see {@link yarnRegistry}
31 */
32
33const npmRegistryMirrors = [cloudflareRegistry, yarnRegistry];
34/**
35 * Downloads API for the npm registry
36 *
37 * @see {@link https://api.npmjs.org}
38 */
39
40const npmRegistryDownloadsAPI = 'https://api.npmjs.org';
41
42export { cloudflareRegistry, npmRegistry, npmRegistryDownloadsAPI, npmRegistryMirrors, yarnRegistry };
43//# sourceMappingURL=registries.esm.js.map