Skip to content

Instantly share code, notes, and snippets.

@bobrik
Created October 15, 2012 17:44
Show Gist options
  • Save bobrik/3893929 to your computer and use it in GitHub Desktop.
Save bobrik/3893929 to your computer and use it in GitHub Desktop.
web # id; npm config ls -l; npm config get user
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),26(tape),27(video)
; cli configs
long = true
registry = "https://registry.npmjs.org/"
; default values
always-auth = false
browser = "google-chrome"
cache = "/root/.npm"
cache-lock-retries = 10
cache-lock-stale = 60000
cache-lock-wait = 10000
cache-max = null
cache-min = 0
color = true
coverage = false
depth = null
description = true
dev = false
editor = "/usr/bin/mcedit"
engine-strict = false
fetch-retries = 2
fetch-retry-factor = 10
fetch-retry-maxtimeout = 60000
fetch-retry-mintimeout = 10000
force = false
git = "git"
global = false
globalconfig = "/usr/etc/npmrc"
globalignorefile = "/usr/etc/npmignore"
group = 0
https-proxy = null
ignore = ""
init-module = "/root/.npm-init.js"
init.author.email = ""
init.author.name = ""
init.author.url = ""
init.version = "0.0.0"
json = false
link = false
loglevel = "http"
; long = false (overridden)
message = "%s"
node-version = "v0.9.2"
npat = false
npaturl = "http://npat.npmjs.org/"
onload-script = false
optional = true
parseable = false
pre = false
prefix = "/usr"
production = false
proprietary-attribs = true
proxy = null
rebuild-bundle = true
registry = "https://registry.npmjs.org/"
rollback = true
save = false
save-bundle = false
save-dev = false
save-optional = false
searchexclude = null
searchopts = ""
searchsort = "name"
shell = "/bin/bash"
sign-git-tag = false
strict-ssl = true
tag = "latest"
tmp = "/root/tmp"
umask = 18
unicode = true
unsafe-perm = false
usage = false
user = 1000
user-agent = "node/v0.9.2"
userconfig = "/root/.npmrc"
userignorefile = "/root/.npmignore"
username = ""
version = false
versions = false
viewer = "man"
yes = null
1000 // this is "npm config get user" result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment