<commit_before>
var log = require("./log")
  , path = require("path")
  , hasSSL = false
try {
  hasSSL = !!(process.binding("crypto") && require("crypto"))
} catch (ex) {}

if (!process.execPath) {
  process.execPath = path.join(process.installPrefix, "bin", "node")
}

module.exports =
  { "auto-activate" : "always"
  , "update-dependents" : true
  , "auto-deactivate" : true
  , "tar" : process.env.TAR || "tar"
  , "gzipbin" : process.env.GZIPBIN || "gzip"
  , tag : "latest"
  , proxy : process.env.http_proxy || null
  , root : path.join(process.execPath, "..", "..", "lib", "node")
  , globalconfig : path.join(process.execPath, "..", "..", "etc", "npmrc")
  , userconfig : path.join(process.env.HOME, ".npmrc")
  , binroot : path.dirname(process.execPath)
  , dev : false
  , loglevel : "info"
  , manroot : path.join(process.execPath, "..", "..", "share", "man")
  , editor : process.env.EDITOR

  //
  // TODO: Fix when node's SSL client can upload properly.
  // , registry : hasSSL ? "https://registry.npmjs.org/"
  //            : "http://registry.npmjs.org/"
  //
  , registry : "http://registry.npmjs.org/"
  }<commit_msg>root/sudo doesn't get a userconfig.<commit_after>
var log = require("./log")
  , path = require("path")
  , hasSSL = false
try {
  hasSSL = !!(process.binding("crypto") && require("crypto"))
} catch (ex) {}

if (!process.execPath) {
  process.execPath = path.join(process.installPrefix, "bin", "node")
}
var isSudo = process.getuid() === 0
module.exports =
  { "auto-activate" : "always"
  , "update-dependents" : true
  , "auto-deactivate" : true
  , "tar" : process.env.TAR || "tar"
  , "gzipbin" : process.env.GZIPBIN || "gzip"
  , tag : "latest"
  , proxy : process.env.http_proxy || null
  , root : path.join(process.execPath, "..", "..", "lib", "node")
  , globalconfig : path.join(process.execPath, "..", "..", "etc", "npmrc")
  , userconfig : isSudo ? null : path.join(process.env.HOME, ".npmrc")
  , binroot : path.dirname(process.execPath)
  , dev : false
  , loglevel : "info"
  , manroot : path.join(process.execPath, "..", "..", "share", "man")
  , editor : process.env.EDITOR

  //
  // TODO: Fix when node's SSL client can upload properly.
  // , registry : hasSSL ? "https://registry.npmjs.org/"
  //            : "http://registry.npmjs.org/"
  //
  , registry : "http://registry.npmjs.org/"
  }
{'fraction_non_alphanumeric': 0.21285653469561516, 'fraction_numerical': 0.0004257130693912303, 'mean_word_length': 3.144620811287478, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1976332', 'n_tokens_mistral': 866, 'n_tokens_neox': 829, 'n_words': 162}