HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/.nvm/versions/node/v12.22.12/lib/node_modules/npm/lib/substack.js
module.exports = substack
var npm = require('./npm.js')
var output = require('./utils/output.js')

var isms = [
  '\u001b[32mbeep \u001b[35mboop\u001b[m',
  'Replace your configs with services',
  'SEPARATE ALL THE CONCERNS!',
  'MODULE ALL THE THINGS!',
  '\\o/',
  'but first, burritos',
  'full time mad scientist here',
  'c/,,\\'
]

function substack (args, cb) {
  var i = Math.floor(Math.random() * isms.length)
  output(isms[i])
  var c = args.shift()
  if (c) npm.commands[c](args, cb)
  else cb()
}