AlkantarClanX12

Your IP : 3.143.203.129


Current Path : /proc/thread-self/root/opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/lib/utils/
Upload File :
Current File : //proc/thread-self/root/opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/lib/utils/is-registry.js

'use strict'
module.exports = isRegistry

function isRegistry (req) {
  if (req == null) return false
  // modern metadata
  if ('registry' in req) return req.registry
  // legacy metadata
  if (req.type === 'range' || req.type === 'version' || req.type === 'tag') return true
  return false
}