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