UNPKG

query-registry

Version:

Query the npm registry for packuments, manifests, packages and download counts

44 lines (38 loc) 1.06 kB
/** * npm registry * * @see {@link https://registry.npmjs.org} */ 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} */ const cloudflareRegistry = 'https://registry.npmjs.cf'; /** * npm registry mirror by Yarn * * @see {@link https://registry.yarnpkg.com} */ const yarnRegistry = 'https://registry.yarnpkg.com'; /** * Mirrors of the npm registry. * * @see {@link cloudflareRegistry} * @see {@link yarnRegistry} */ const npmRegistryMirrors = [cloudflareRegistry, yarnRegistry]; /** * Downloads API for the npm registry * * @see {@link https://api.npmjs.org} */ const npmRegistryDownloadsAPI = 'https://api.npmjs.org'; export { cloudflareRegistry, npmRegistry, npmRegistryDownloadsAPI, npmRegistryMirrors, yarnRegistry }; //# sourceMappingURL=registries.esm.js.map