✏️ 正在编辑: alias.js
路径:
/lib/node_modules/npm/node_modules/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) } })
💾 保存文件
← 返回文件管理器