AlkantarClanX12

Your IP : 3.149.235.66


Current Path : /opt/alt/alt-nodejs11/root/lib/node_modules/npm/node_modules.bundled/pacote/lib/fetchers/
Upload File :
Current File : //opt/alt/alt-nodejs11/root/lib/node_modules/npm/node_modules.bundled/pacote/lib/fetchers/alias.js

'use strict'

const Fetcher = require('../fetch')
const fetchRegistry = require('./registry')

const fetchRemote = module.exports = Object.create(null)

Fetcher.impl(fetchRemote, {
  packument (spec, opts) {
    return fetchRegistry.packument(spec.subSpec, opts)
  },

  manifest (spec, opts) {
    return fetchRegistry.manifest(spec.subSpec, opts)
  },

  tarball (spec, opts) {
    return fetchRegistry.tarball(spec.subSpec, opts)
  },

  fromManifest (manifest, spec, opts) {
    return fetchRegistry.fromManifest(manifest, spec.subSpec, opts)
  }
})