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