SILENT KILLERPanel

Current Path: > > lib > node_modules > npm > node_modules > cacache > lib > util


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //lib/node_modules/npm/node_modules/cacache/lib/util

NameTypeSizeLast ModifiedActions
fix-owner.js File 3294 bytes March 10 2021 14:36:36.
hash-to-segments.js File 159 bytes March 10 2021 14:36:36.
move-file.js File 1758 bytes March 10 2021 14:36:36.
tmp.js File 879 bytes March 10 2021 14:36:36.
y.js File 538 bytes March 10 2021 14:36:36.

Reading File: //lib/node_modules/npm/node_modules/cacache/lib/util/y.js

'use strict'

const path = require('path')
const y18n = require('y18n')({
  directory: path.join(__dirname, '../../locales'),
  locale: 'en',
  updateFiles: process.env.CACACHE_UPDATE_LOCALE_FILES === 'true'
})

module.exports = yTag
function yTag (parts) {
  let str = ''
  parts.forEach((part, i) => {
    const arg = arguments[i + 1]
    str += part
    if (arg) {
      str += '%s'
    }
  })
  return y18n.__.apply(null, [str].concat([].slice.call(arguments, 1)))
}

module.exports.setLocale = locale => {
  y18n.setLocale(locale)
}

SILENT KILLER Tool