1 | import { npmRegistryDownloadsAPI } from '../data/registries.esm.js';
|
2 | import { fetchFromRegistry } from './fetch-from-registry.esm.js';
|
3 |
|
4 | async function fetchDownloadsFromRegistry({
|
5 | endpoint,
|
6 | registryDownloadsAPI = npmRegistryDownloadsAPI,
|
7 | cached
|
8 | }) {
|
9 | return fetchFromRegistry({
|
10 | endpoint,
|
11 | registry: registryDownloadsAPI,
|
12 | mirrors: [],
|
13 | cached
|
14 | });
|
15 | }
|
16 |
|
17 | export { fetchDownloadsFromRegistry };
|
18 | //# sourceMappingURL=fetch-downloads-from-registry.esm.js.map
|