@@ -5,14 +5,14 @@ repo.usage = "npm repo <pkgname>"

repo.completion = function (opts, cb) {
if (opts.conf.argv.remain.length > 2) return cb()
registry.get("/-/short", 60000, function (er, list) {
var uri = url_.resolve(npm.config.get("registry"), "/-/short")
registry.get(uri, { timeout : 60000 }, function (er, list) {
return cb(null, list || [])
})
}

var npm = require("./npm.js")
, registry = npm.registry
, log = require("npmlog")
, opener = require("opener")
, github = require('github-url-from-git')
, githubUserRepo = require("github-url-from-username-repo")
@@ -52,7 +52,8 @@ function getUrlAndOpen (d, cb) {
}

function callRegistry (n, cb) {
registry.get(n + "/latest", 3600, function (er, d) {
var uri = url_.resolve(npm.config.get("registry"), n + "/latest")
registry.get(uri, { timeout : 3600 }, function (er, d) {
if (er) return cb(er)
getUrlAndOpen(d, cb)
})
@@ -7,8 +7,6 @@ var lifecycle = require("./utils/lifecycle.js")
, readJson = require("read-package-json")
, log = require("npmlog")
, chain = require("slide").chain
, fs = require("graceful-fs")
, asyncMap = require("slide").asyncMap

runScript.usage = "npm run-script [<pkg>] <command>"

@@ -1,7 +1,8 @@

module.exports = exports = search

var npm = require("./npm.js")
var url = require("url")
, npm = require("./npm.js")
, registry = npm.registry
, columnify = require('columnify')

@@ -57,8 +58,13 @@ function search (args, silent, staleness, cb) {
}

function getFilteredData (staleness, args, notArgs, cb) {
registry.get( "/-/all", staleness, false
, true, function (er, data) {
var opts = {
timeout : staleness,
follow : true,
staleOk : true
}
var uri = url.resolve(npm.config.get("registry"), "-/all")
registry.get(uri, opts, function (er, data) {
if (er) return cb(er)
return cb(null, filter(data, args, notArgs))
})
@@ -115,7 +121,7 @@ function filterWords (data, args, notArgs) {
for (var i = 0, l = args.length; i < l; i ++) {
if (!match(words, args[i])) return false
}
for (var i = 0, l = notArgs.length; i < l; i ++) {
for (i = 0, l = notArgs.length; i < l; i ++) {
if (match(words, notArgs[i])) return false
}
return true
@@ -218,7 +224,7 @@ function addColorMarker (str, arg, i) {
var pieces = str.toLowerCase().split(arg.toLowerCase())
, p = 0

return pieces.map(function (piece, i) {
return pieces.map(function (piece) {
piece = str.substr(p, piece.length)
var mark = markStart
+ str.substr(p+piece.length, arg.length)
@@ -239,12 +245,12 @@ function colorize (line) {
}

function getMaxWidth() {
var cols
try {
var tty = require("tty")
, stdout = process.stdout
, cols = !tty.isatty(stdout.fd) ? Infinity
: process.stdout.getWindowSize()[0]
cols = (cols == 0) ? Infinity : cols
cols = !tty.isatty(stdout.fd) ? Infinity : process.stdout.getWindowSize()[0]
cols = (cols === 0) ? Infinity : cols
} catch (ex) { cols = Infinity }
return cols
}
@@ -60,8 +60,9 @@ function save (pkginfo, silent, cb) {
// copy the keys over in a well defined order
// because javascript objects serialize arbitrarily
pkginfo.dependencies = sortedObject(pkginfo.dependencies || {})
var swdata
try {
var swdata = JSON.stringify(pkginfo, null, 2) + "\n"
swdata = JSON.stringify(pkginfo, null, 2) + "\n"
} catch (er) {
log.error("shrinkwrap", "Error converting package info to json")
return cb(er)
@@ -1,7 +1,8 @@

module.exports = star

var npm = require("./npm.js")
var url = require("url")
, npm = require("./npm.js")
, registry = npm.registry
, log = require("npmlog")
, asyncMap = require("slide").asyncMap
@@ -10,7 +11,8 @@ star.usage = "npm star <package> [pkg, pkg, ...]\n"
+ "npm unstar <package> [pkg, pkg, ...]"

star.completion = function (opts, cb) {
registry.get("/-/short", 60000, function (er, list) {
var uri = url.resolve(npm.config.get("registry"), "-/short")
registry.get(uri, { timeout : 60000 }, function (er, list) {
return cb(null, list || [])
})
}
@@ -22,7 +24,8 @@ function star (args, cb) {
, using = !(npm.command.match(/^un/))
if (!using) s = u
asyncMap(args, function (pkg, cb) {
registry.star(pkg, using, function (er, data, raw, req) {
var uri = url.resolve(npm.config.get("registry"), pkg)
registry.star(uri, using, function (er, data, raw, req) {
if (!er) {
console.log(s + " "+pkg)
log.verbose("star", data)
@@ -2,13 +2,15 @@ module.exports = stars

stars.usage = "npm stars [username]"

var npm = require("./npm.js")
var url = require("url")
, npm = require("./npm.js")
, registry = npm.registry
, log = require("npmlog")

function stars (args, cb) {
var name = args.length === 1 ? args[0] : npm.config.get("username")
registry.stars(name, showstars)
, uri = url.resolve(npm.config.get("registry"), name)
registry.stars(uri, showstars)

function showstars (er, data) {
if (er) {
@@ -5,8 +5,8 @@
module.exports = submodule

var npm = require("./npm.js")
, exec = require("child_process").execFile
, cache = require("./cache.js")
, git = require("./utils/git.js")
, asyncMap = require("slide").asyncMap
, chain = require("slide").chain
, which = require("which")
@@ -56,64 +56,36 @@ function submodule_ (pkg, cb) {
}

function updateSubmodule (name, cb) {
var git = npm.config.get("git")
var args = [ "submodule", "update", "--init", "node_modules/", name ]

// check for git
which(git, function (err) {
if (err) {
err.code = "ENOGIT"
return cb(err)
}

exec(git, args, cb)
})
git.whichAndExec(args, cb)
}

function addSubmodule (name, url, cb) {
var git = npm.config.get("git")
var args = [ "submodule", "add", url, "node_modules/", name ]

// check for git
which(git, function (err) {
if (err) {
err.code = "ENOGIT"
return cb(err)
}

exec(git, args, function (er) {
if (er) return cb(er)
updateSubmodule(name, cb)
})
})
git.whichAndExec(args, cb)
}


var getSubmodules = function getSubmodules (cb) {
var git = npm.config.get("git")
var getSubmodules = function (cb) {
var args = [ "submodule", "status" ]

// check for git
which(git, function (err) {
if (err) {
err.code = "ENOGIT"
return cb(err)
}
exec(git, args, function (er, stdout) {
if (er) return cb(er)
var res = stdout.trim().split(/\n/).map(function (line) {
return line.trim().split(/\s+/)[1]
}).filter(function (line) {
// only care about submodules in the node_modules folder.
return line && line.match(/^node_modules\//)
}).map(function (line) {
return line.replace(/^node_modules\//g, "")
})

// memoize.
getSubmodules = function (cb) { return cb(null, res) }

cb(null, res)

git.whichAndExec(args, function _(er, stdout) {
if (er) return cb(er)
var res = stdout.trim().split(/\n/).map(function (line) {
return line.trim().split(/\s+/)[1]
}).filter(function (line) {
// only care about submodules in the node_modules folder.
return line && line.match(/^node_modules\//)
}).map(function (line) {
return line.replace(/^node_modules\//g, "")
})

// memoize.
getSubmodules = function (cb) { return cb(null, res) }

cb(null, res)
})
}
@@ -5,7 +5,8 @@ tag.usage = "npm tag <project>@<version> [<tag>]"

tag.completion = require("./unpublish.js").completion

var npm = require("./npm.js")
var url = require("url")
, npm = require("./npm.js")
, registry = npm.registry

function tag (args, cb) {
@@ -14,5 +15,6 @@ function tag (args, cb) {
, version = thing.join("@")
, t = args.shift() || npm.config.get("tag")
if (!project || !version || !t) return cb("Usage:\n"+tag.usage)
registry.tag(project, version, t, cb)
var uri = url.resolve(npm.config.get("registry"), project)
registry.tag(uri, version, t, cb)
}
@@ -1,7 +1,6 @@
module.exports = test

var testCmd = require("./utils/lifecycle.js").cmd("test")
, log = require("npmlog")

function test (args, cb) {
testCmd(args, function (er) {
@@ -6,7 +6,6 @@ var readJson = require("read-package-json")
, gentlyRm = require("./utils/gently-rm.js")
, npm = require("./npm.js")
, path = require("path")
, fs = require("graceful-fs")
, lifecycle = require("./utils/lifecycle.js")
, asyncMap = require("slide").asyncMap
, chain = require("slide").chain
@@ -26,7 +25,7 @@ function unbuild_ (silent) { return function (folder, cb_) {
}
folder = path.resolve(folder)
delete build._didBuild[folder]
log.info(folder, "unbuild")
log.verbose(folder.substr(npm.prefix.length + 1), "unbuild")
readJson(path.resolve(folder, "package.json"), function (er, pkg) {
// if no json, then just trash it, but no scripts or whatever.
if (er) return rm(folder, cb)
@@ -87,12 +86,12 @@ function rmMans (pkg, folder, parent, top, cb) {
var manRoot = path.resolve(npm.config.get("prefix"), "share", "man")
asyncMap(pkg.man, function (man, cb) {
if (Array.isArray(man)) {
man.forEach(rm)
man.forEach(rmMan)
} else {
rm(man)
rmMan(man)
}

function rm(man) {
function rmMan(man) {
var parseMan = man.match(/(.*)\.([0-9]+)(\.gz)?$/)
, stem = parseMan[1]
, sxn = parseMan[2]
@@ -79,14 +79,15 @@ function saver (args, nm, cb_) {
// don't use readJson here, because we don't want all the defaults
// filled in, for mans and other bs.
fs.readFile(pj, 'utf8', function (er, json) {
var pkg
try {
var pkg = JSON.parse(json)
pkg = JSON.parse(json)
} catch (_) {}
if (!pkg) return cb_(null, data)

var bundle
if (npm.config.get('save-bundle')) {
var bundle = pkg.bundleDependencies || pkg.bundledDependencies
bundle = pkg.bundleDependencies || pkg.bundledDependencies
if (!Array.isArray(bundle)) bundle = undefined
}

@@ -1,7 +1,8 @@

module.exports = unpublish

var log = require("npmlog")
var url = require("url")
, log = require("npmlog")
, npm = require("./npm.js")
, registry = npm.registry
, readJson = require("read-package-json")
@@ -13,20 +14,21 @@ unpublish.completion = function (opts, cb) {
if (opts.conf.argv.remain.length >= 3) return cb()
var un = encodeURIComponent(npm.config.get("username"))
if (!un) return cb()
registry.get("/-/by-user/"+un, function (er, pkgs) {
var uri = url.resolve(npm.config.get("registry"), "-/by-user/"+un)
registry.get(uri, null, function (er, pkgs) {
// do a bit of filtering at this point, so that we don't need
// to fetch versions for more than one thing, but also don't
// accidentally a whole project.
pkgs = pkgs[un]
if (!pkgs || !pkgs.length) return cb()
var partial = opts.partialWord.split("@")
, pp = partial.shift()
, pv = partial.join("@")
pkgs = pkgs.filter(function (p) {
return p.indexOf(pp) === 0
})
if (pkgs.length > 1) return cb(null, pkgs)
registry.get(pkgs[0], function (er, d) {
var uri = url.resolve(npm.config.get("registry"), pkgs[0])
registry.get(uri, null, function (er, d) {
if (er) return cb(er)
var vers = Object.keys(d.versions)
if (!vers.length) return cb(null, pkgs)
@@ -38,7 +40,6 @@ unpublish.completion = function (opts, cb) {
}

function unpublish (args, cb) {

if (args.length > 1) return cb(unpublish.usage)

var thing = args.length ? args.shift().split("@") : []
@@ -78,6 +79,7 @@ function gotProject (project, version, cb_) {
return cb(er)
}

registry.unpublish(project, version, cb)
var uri = url.resolve(npm.config.get("registry"), project)
registry.unpublish(uri, version, cb)
})
}
@@ -10,7 +10,6 @@ module.exports = update
update.usage = "npm update [pkg]"

var npm = require("./npm.js")
, lifecycle = require("./utils/lifecycle.js")
, asyncMap = require("slide").asyncMap
, log = require("npmlog")

@@ -2,7 +2,6 @@ module.exports = fileCompletion

var mkdir = require("mkdirp")
, path = require("path")
, fs = require("graceful-fs")
, glob = require("glob")

function fileCompletion (root, req, depth, cb) {
@@ -13,7 +13,7 @@ var cbCalled = false

process.on("exit", function (code) {
// console.error("exit", code)
if (!npm.config.loaded) return
if (!npm.config || !npm.config.loaded) return
if (code) itWorked = false
if (itWorked) log.info("ok")
else {
@@ -46,7 +46,7 @@ process.on("exit", function (code) {
function exit (code, noLog) {
exitCode = exitCode || process.exitCode || code

var doExit = npm.config.get("_exit")
var doExit = npm.config ? npm.config.get("_exit") : true
log.verbose("exit", [code, doExit])
if (log.level === "silent") noLog = true

@@ -71,7 +71,7 @@ function exit (code, noLog) {
function errorHandler (er) {
var printStack = false
// console.error("errorHandler", er)
if (!npm.config.loaded) {
if (!npm.config || !npm.config.loaded) {
// logging won't work unless we pretend that it's ready
er = er || new Error("Exit prior to config file resolving.")
console.error(er.stack || er.message)
@@ -112,7 +112,6 @@ function errorHandler (er) {
break

case "ELIFECYCLE":
er.code = "ELIFECYCLE"
log.error("", er.message)
log.error("", ["","Failed at the "+er.pkgid+" "+er.stage+" script."
,"This is most likely a problem with the "+er.pkgname+" package,"
@@ -126,7 +125,6 @@ function errorHandler (er) {
break

case "ENOGIT":
er.code = "ENOGIT"
log.error("", er.message)
log.error("", ["","Failed using git."
,"This is most likely not a problem with npm itself."
@@ -135,7 +133,6 @@ function errorHandler (er) {
break

case "EJSONPARSE":
er.code = "EJSONPARSE"
log.error("", er.message)
log.error("", "File: "+er.file)
log.error("", ["Failed to parse package.json data."
@@ -146,7 +143,6 @@ function errorHandler (er) {
break

case "E404":
er.code = "E404"
var msg = [er.message]
if (er.pkgid && er.pkgid !== "-") {
msg.push("", "'"+er.pkgid+"' is not in the npm registry."
@@ -168,7 +164,6 @@ function errorHandler (er) {
break

case "EPUBLISHCONFLICT":
er.code = "EPUBLISHCONFLICT"
log.error("publish fail", ["Cannot publish over existing version."
,"Update the 'version' field in package.json and try again."
,""
@@ -181,7 +176,6 @@ function errorHandler (er) {
break

case "EISGIT":
er.code = "EISGIT"
log.error("git", [er.message
," "+er.path
,"Refusing to remove it. Update manually,"
@@ -190,7 +184,6 @@ function errorHandler (er) {
break

case "ECYCLE":
er.code = "ECYCLE"
log.error("cycle", [er.message
,"While installing: "+er.pkgid
,"Found a pathological dependency case that npm cannot solve."
@@ -199,7 +192,6 @@ function errorHandler (er) {
break

case "EBADPLATFORM":
er.code = "EBADPLATFORM"
log.error("notsup", [er.message
,"Not compatible with your operating system or architecture: "+er.pkgid
,"Valid OS: "+er.os.join(",")
@@ -268,6 +260,22 @@ function errorHandler (er) {
break
} // else passthrough

case "ENOSPC":
log.error("nospc", [er.message
,"This is most likely not a problem with npm itself"
,"and is related to insufficient space on your system."
].join("\n"))
break

case "EROFS":
log.error("rofs", [er.message
,"This is most likely not a problem with npm itself"
,"and is related to the file system being read-only."
,"\nOften virtualized file systems, or other file systems"
,"that don't support symlinks, give this error."
].join("\n"))
break

default:
log.error("", er.stack || er.message || er)
log.error("", ["If you need help, you may report this *entire* log,"
@@ -0,0 +1,45 @@

// handle some git configuration for windows

exports.spawn = spawnGit
exports.chainableExec = chainableExec
exports.whichAndExec = whichAndExec

var exec = require("child_process").execFile
, spawn = require("child_process").spawn
, npm = require("../npm.js")
, which = require("which")
, git = npm.config.get("git")

function prefixGitArgs() {
return process.platform === "win32" ? ["-c", "core.longpaths=true"] : []
}

function execGit(args, options, cb) {
return exec(git, prefixGitArgs().concat(args || []), options, cb)
}

function spawnGit(args, options, cb) {
return spawn(git, prefixGitArgs().concat(args || []), options)
}

function chainableExec() {
var args = Array.prototype.slice.call(arguments)
return [execGit].concat(args)
}

function whichGit(cb) {
return which(git, cb)
}

function whichAndExec(args, options, cb) {
// check for git
whichGit(function (err) {
if (err) {
err.code = "ENOGIT"
return cb(err)
}

execGit(args, options, cb)
})
}
@@ -10,6 +10,7 @@ var exec = require("child_process").execFile
, log = require("npmlog")
, which = require("which")
, npm = require("./npm.js")
, git = require("./utils/git.js")

version.usage = "npm version [<newversion> | major | minor | patch | prerelease | preminor | premajor ]\n"
+ "\n(run in package dir)\n"
@@ -37,6 +38,9 @@ function version (args, silent, cb_) {
if (data && data.name && data.version) {
v[data.name] = data.version
}
if (npm.config.get("json")) {
v = JSON.stringify(v, null, 2)
}
console.log(v)
return cb_()
}
@@ -53,9 +57,9 @@ function version (args, silent, cb_) {
return cb_(er)
}

var newVer = semver.valid(args[0])
if (!newVer) newVer = semver.inc(data.version, args[0])
if (!newVer) return cb_(version.usage)
var newVer = semver.valid(args[0])
if (!newVer) newVer = semver.inc(data.version, args[0])
if (!newVer) return cb_(version.usage)
if (data.version === newVer) return cb_(new Error("Version not changed"))
data.version = newVer

@@ -74,48 +78,36 @@ function version (args, silent, cb_) {
}

function checkGit (data, cb) {
var git = npm.config.get("git")
var args = [ "status", "--porcelain" ]
var env = process.env
var options = {env: process.env}

// check for git
which(git, function (err) {
if (err) {
err.code = "ENOGIT"
return cb(err)
}

gitFound()
})

function gitFound () {
exec(git, args, {env: env}, function (er, stdout, stderr) {
var lines = stdout.trim().split("\n").filter(function (line) {
return line.trim() && !line.match(/^\?\? /)
}).map(function (line) {
return line.trim()
})
if (lines.length) return cb(new Error(
"Git working directory not clean.\n"+lines.join("\n")))
write(data, function (er) {
if (er) return cb(er)
var message = npm.config.get("message").replace(/%s/g, data.version)
, sign = npm.config.get("sign-git-tag")
, flag = sign ? "-sm" : "-am"
chain
( [ [ exec, git, [ "add", "package.json" ], {env: process.env} ]
, [ exec, git, [ "commit", "-m", message ], {env: process.env} ]
, sign && function (cb) {
npm.spinner.stop()
cb()
}
git.whichAndExec(args, options, function (er, stdout) {
var lines = stdout.trim().split("\n").filter(function (line) {
return line.trim() && !line.match(/^\?\? /)
}).map(function (line) {
return line.trim()
})
if (lines.length) return cb(new Error(
"Git working directory not clean.\n"+lines.join("\n")))
write(data, function (er) {
if (er) return cb(er)
var message = npm.config.get("message").replace(/%s/g, data.version)
, sign = npm.config.get("sign-git-tag")
, flag = sign ? "-sm" : "-am"
chain
( [ git.chainableExec([ "add", "package.json" ], {env: process.env})
, git.chainableExec([ "commit", "-m", message ], {env: process.env})
, sign && function (cb) {
npm.spinner.stop()
cb()
}

, [ exec, git, [ "tag", "v" + data.version, flag, message ]
, {env: process.env} ] ]
, cb )
})
, git.chainableExec([ "tag", "v" + data.version, flag, message ]
, {env: process.env}) ]
, cb )
})
}
})
}

function write (data, cb) {
@@ -4,12 +4,15 @@ module.exports = view
view.usage = "npm view pkg[@version] [<field>[.subfield]...]"

view.completion = function (opts, cb) {
var uri
if (opts.conf.argv.remain.length <= 2) {
return registry.get("/-/short", cb)
uri = url.resolve(npm.config.get("registry"), "-/short")
return registry.get(uri, null, cb)
}
// have the package, get the fields.
var tag = npm.config.get("tag")
registry.get(opts.conf.argv.remain[2], function (er, d) {
uri = url.resolve(npm.config.get("registry"), opts.conf.argv.remain[2])
registry.get(uri, null, function (er, d) {
if (er) return cb(er)
var dv = d.versions[d["dist-tags"][tag]]
, fields = []
@@ -39,7 +42,8 @@ view.completion = function (opts, cb) {
}
}

var npm = require("./npm.js")
var url = require("url")
, npm = require("./npm.js")
, registry = npm.registry
, log = require("npmlog")
, util = require("util")
@@ -56,15 +60,16 @@ function view (args, silent, cb) {
if (name === ".") return cb(view.usage)

// get the data about this package
registry.get(name, function (er, data) {
var uri = url.resolve(npm.config.get("registry"), name)
registry.get(uri, null, function (er, data) {
if (er) return cb(er)
if (data["dist-tags"] && data["dist-tags"].hasOwnProperty(version)) {
version = data["dist-tags"][version]
}

if (data.time && data.time.unpublished) {
var u = data.time.unpublished
var er = new Error("Unpublished by " + u.name + " on " + u.time)
er = new Error("Unpublished by " + u.name + " on " + u.time)
er.statusCode = 404
er.code = "E404"
er.pkgid = data._id
@@ -139,8 +144,9 @@ function search (data, fields, version, title) {
, tail = fields
while (!field && fields.length) field = tail.shift()
fields = [field].concat(tail)
var o
if (!field && !tail.length) {
var o = {}
o = {}
o[version] = {}
o[version][title] = data
return o
@@ -160,7 +166,6 @@ function search (data, fields, version, title) {
return search(data[0], fields, version, title)
}
var results = []
, res = null
data.forEach(function (data, i) {
var tl = title.length
, newt = title.substr(0, tl-(fields.join(".").length) - 1)
@@ -182,7 +187,7 @@ function search (data, fields, version, title) {
return new Error("Not an object: "+data)
}
}
var o = {}
o = {}
o[version] = {}
o[version][title] = data
return o
@@ -194,7 +199,7 @@ function printData (data, name, cb) {
, showVersions = versions.length > 1
, showFields

versions.forEach(function (v, i) {
versions.forEach(function (v) {
var fields = Object.keys(data[v])
showFields = showFields || (fields.length > 1)
fields.forEach(function (f) {
@@ -7,7 +7,7 @@ whoami.usage = "npm whoami\n(just prints the 'username' config)"
function whoami (args, silent, cb) {
if (typeof cb !== "function") cb = silent, silent = false
var me = npm.config.get("username")
msg = me ? me : "Not authed. Run 'npm adduser'"
var msg = me ? me : "Not authed. Run 'npm adduser'"
if (!silent) console.log(msg)
process.nextTick(cb.bind(this, null, me))
}
@@ -1,6 +1,5 @@
// happy xmas
var npm = require("./npm.js")
, log = require("npmlog")
var log = require("npmlog")

module.exports = function (args, cb) {
var s = process.platform === "win32" ? " *" : " \u2605"
@@ -20,26 +19,26 @@ w("\n")
for (var i = 0; i < H; i ++) w(" ")
w(x+"\033[33m"+s+"\n")
var M = H * 2 - 1
for (L = 1; L <= H; L ++) {
for (var L = 1; L <= H; L ++) {
var O = L * 2 - 2
var S = (M - O) / 2
for (var i = 0; i < S; i ++) w(" ")
for (i = 0; i < S; i ++) w(" ")
w(x+"\033[32m"+f)
for (var i = 0; i < O; i ++) w(
for (i = 0; i < O; i ++) w(
"\033["+oc[Math.floor(Math.random()*oc.length)]+"m"+
o[Math.floor(Math.random() * o.length)]
)
w(x+"\033[32m"+b+"\n")
}
w(" ")
for (var i = 1; i < H; i ++) w("\033[32m"+l)
for (i = 1; i < H; i ++) w("\033[32m"+l)
w("| "+x+" |")
for (var i = 1; i < H; i ++) w("\033[32m"+l)
for (i = 1; i < H; i ++) w("\033[32m"+l)
if (H > 10) {
w("\n ")
for (var i = 1; i < H; i ++) w(" ")
for (i = 1; i < H; i ++) w(" ")
w("| "+x+" |")
for (var i = 1; i < H; i ++) w(" ")
for (i = 1; i < H; i ++) w(" ")
}
})(20)
w("\n\n")
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM" "1" "June 2014" "" ""
.TH "NPM" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm\fR \-\- node package manager![Build Status \fIhttps://img\.shields\.io/travis/npm/npm/master\.svg)](https://travis\-ci\.org/npm/npm\fR
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-ADDUSER" "1" "June 2014" "" ""
.TH "NPM\-ADDUSER" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-adduser\fR \-\- Add a registry user account
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-BIN" "1" "June 2014" "" ""
.TH "NPM\-BIN" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-bin\fR \-\- Display npm bin folder
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-BUGS" "1" "June 2014" "" ""
.TH "NPM\-BUGS" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-bugs\fR \-\- Bugs for a package in a web browser maybe
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-BUILD" "1" "June 2014" "" ""
.TH "NPM\-BUILD" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-build\fR \-\- Build a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-BUNDLE" "1" "June 2014" "" ""
.TH "NPM\-BUNDLE" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-bundle\fR \-\- REMOVED
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-CACHE" "1" "June 2014" "" ""
.TH "NPM\-CACHE" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-cache\fR \-\- Manipulates packages cache
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-COMPLETION" "1" "June 2014" "" ""
.TH "NPM\-COMPLETION" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-completion\fR \-\- Tab Completion for npm
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-CONFIG" "1" "June 2014" "" ""
.TH "NPM\-CONFIG" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-config\fR \-\- Manage the npm configuration files
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-DEDUPE" "1" "June 2014" "" ""
.TH "NPM\-DEDUPE" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-dedupe\fR \-\- Reduce duplication
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-DEPRECATE" "1" "June 2014" "" ""
.TH "NPM\-DEPRECATE" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-deprecate\fR \-\- Deprecate a version of a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-DOCS" "1" "June 2014" "" ""
.TH "NPM\-DOCS" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-docs\fR \-\- Docs for a package in a web browser maybe
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-EDIT" "1" "June 2014" "" ""
.TH "NPM\-EDIT" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-edit\fR \-\- Edit an installed package
@@ -1,15 +1,15 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-EXPLORE" "1" "June 2014" "" ""
.TH "NPM\-EXPLORE" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-explore\fR \-\- Browse an installed package
.
.SH "SYNOPSIS"
.
.nf
npm explore <name>[@<version>] [ \-\- <cmd>]
npm explore <name> [ \-\- <cmd>]
.
.fi
.
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-HELP\-SEARCH" "1" "June 2014" "" ""
.TH "NPM\-HELP\-SEARCH" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-help-search\fR \-\- Search npm help documentation
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-HELP" "1" "June 2014" "" ""
.TH "NPM\-HELP" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-help\fR \-\- Get help on npm
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-INIT" "1" "June 2014" "" ""
.TH "NPM\-INIT" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-init\fR \-\- Interactively create a package\.json file
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-INSTALL" "1" "June 2014" "" ""
.TH "NPM\-INSTALL" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-install\fR \-\- Install a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-LINK" "1" "June 2014" "" ""
.TH "NPM\-LINK" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-link\fR \-\- Symlink a package folder
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-LS" "1" "June 2014" "" ""
.TH "NPM\-LS" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-ls\fR \-\- List installed packages
@@ -29,7 +29,7 @@ For example, running \fBnpm ls promzard\fR in npm\'s source tree will show:
.IP "" 4
.
.nf
npm@1.4.14 /path/to/npm
npm@1.4.21 /path/to/npm
└─┬ init\-package\-json@0\.0\.4
└── promzard@0\.1\.5
.
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-OUTDATED" "1" "June 2014" "" ""
.TH "NPM\-OUTDATED" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-outdated\fR \-\- Check for outdated packages
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-OWNER" "1" "June 2014" "" ""
.TH "NPM\-OWNER" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-owner\fR \-\- Manage package owners
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-PACK" "1" "June 2014" "" ""
.TH "NPM\-PACK" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-pack\fR \-\- Create a tarball from a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-PREFIX" "1" "June 2014" "" ""
.TH "NPM\-PREFIX" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-prefix\fR \-\- Display prefix
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-PRUNE" "1" "June 2014" "" ""
.TH "NPM\-PRUNE" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-prune\fR \-\- Remove extraneous packages
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-PUBLISH" "1" "June 2014" "" ""
.TH "NPM\-PUBLISH" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-publish\fR \-\- Publish a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-REBUILD" "1" "June 2014" "" ""
.TH "NPM\-REBUILD" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-rebuild\fR \-\- Rebuild a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-REPO" "1" "June 2014" "" ""
.TH "NPM\-REPO" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-repo\fR \-\- Open package repository page in the browser
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-RESTART" "1" "June 2014" "" ""
.TH "NPM\-RESTART" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-restart\fR \-\- Start a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-RM" "1" "June 2014" "" ""
.TH "NPM\-RM" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-rm\fR \-\- Remove a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-ROOT" "1" "June 2014" "" ""
.TH "NPM\-ROOT" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-root\fR \-\- Display npm root
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-RUN\-SCRIPT" "1" "June 2014" "" ""
.TH "NPM\-RUN\-SCRIPT" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-run-script\fR \-\- Run arbitrary package scripts
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-SEARCH" "1" "June 2014" "" ""
.TH "NPM\-SEARCH" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-search\fR \-\- Search for packages
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-SHRINKWRAP" "1" "June 2014" "" ""
.TH "NPM\-SHRINKWRAP" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-shrinkwrap\fR \-\- Lock down dependency versions
@@ -244,16 +244,6 @@ and recursively specifies all dependencies, the contents of B\'s
shrinkwrap will implicitly be included in A\'s shrinkwrap\.
.
.SS "Caveats"
Shrinkwrap files only lock down package versions, not actual package
contents\. While discouraged, a package author can republish an
existing version of a package, causing shrinkwrapped packages using
that version to pick up different code than they were before\. If you
want to avoid any risk that a byzantine author replaces a package
you\'re using with code that breaks your application, you could modify
the shrinkwrap file to use git URL references rather than version
numbers so that npm always fetches all packages from git\.
.
.P
If you wish to lock down the specific bytes included in a package, for
example to have 100% confidence in being able to reproduce a
deployment or build, then you ought to check your dependencies into
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-STAR" "1" "June 2014" "" ""
.TH "NPM\-STAR" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-star\fR \-\- Mark your favorite packages
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-STARS" "1" "June 2014" "" ""
.TH "NPM\-STARS" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-stars\fR \-\- View packages marked as favorites
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-START" "1" "June 2014" "" ""
.TH "NPM\-START" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-start\fR \-\- Start a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-STOP" "1" "June 2014" "" ""
.TH "NPM\-STOP" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-stop\fR \-\- Stop a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-SUBMODULE" "1" "June 2014" "" ""
.TH "NPM\-SUBMODULE" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-submodule\fR \-\- Add a package as a git submodule
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-TAG" "1" "June 2014" "" ""
.TH "NPM\-TAG" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-tag\fR \-\- Tag a published version
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-TEST" "1" "June 2014" "" ""
.TH "NPM\-TEST" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-test\fR \-\- Test a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-RM" "1" "June 2014" "" ""
.TH "NPM\-RM" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-rm\fR \-\- Remove a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-UNPUBLISH" "1" "June 2014" "" ""
.TH "NPM\-UNPUBLISH" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-unpublish\fR \-\- Remove a package from the registry
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-UPDATE" "1" "June 2014" "" ""
.TH "NPM\-UPDATE" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-update\fR \-\- Update a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-VERSION" "1" "June 2014" "" ""
.TH "NPM\-VERSION" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-version\fR \-\- Bump a package version
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-VIEW" "1" "June 2014" "" ""
.TH "NPM\-VIEW" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-view\fR \-\- View registry info
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-WHOAMI" "1" "June 2014" "" ""
.TH "NPM\-WHOAMI" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-whoami\fR \-\- Display npm username
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM" "1" "June 2014" "" ""
.TH "NPM" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm\fR \-\- node package manager
@@ -14,7 +14,7 @@ npm <command> [args]
.fi
.
.SH "VERSION"
1.4.14
1.4.21
.
.SH "DESCRIPTION"
npm is the package manager for the Node JavaScript platform\. It puts
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-BIN" "3" "June 2014" "" ""
.TH "NPM\-BIN" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-bin\fR \-\- Display npm bin folder
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-BUGS" "3" "June 2014" "" ""
.TH "NPM\-BUGS" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-bugs\fR \-\- Bugs for a package in a web browser maybe
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-CACHE" "3" "June 2014" "" ""
.TH "NPM\-CACHE" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-cache\fR \-\- manage the npm cache programmatically
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-COMMANDS" "3" "June 2014" "" ""
.TH "NPM\-COMMANDS" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-commands\fR \-\- npm commands
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-CONFIG" "3" "June 2014" "" ""
.TH "NPM\-CONFIG" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-config\fR \-\- Manage the npm configuration files
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-DEPRECATE" "3" "June 2014" "" ""
.TH "NPM\-DEPRECATE" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-deprecate\fR \-\- Deprecate a version of a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-DOCS" "3" "June 2014" "" ""
.TH "NPM\-DOCS" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-docs\fR \-\- Docs for a package in a web browser maybe
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-EDIT" "3" "June 2014" "" ""
.TH "NPM\-EDIT" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-edit\fR \-\- Edit an installed package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-EXPLORE" "3" "June 2014" "" ""
.TH "NPM\-EXPLORE" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-explore\fR \-\- Browse an installed package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-HELP\-SEARCH" "3" "June 2014" "" ""
.TH "NPM\-HELP\-SEARCH" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-help-search\fR \-\- Search the help pages
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "INIT" "3" "June 2014" "" ""
.TH "INIT" "3" "July 2014" "" ""
.
.SH "NAME"
\fBinit\fR \-\- Interactively create a package\.json file
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-INSTALL" "3" "June 2014" "" ""
.TH "NPM\-INSTALL" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-install\fR \-\- install a package programmatically
@@ -1,16 +1,16 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-LINK" "3" "June 2014" "" ""
.TH "NPM\-LINK" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-link\fR \-\- Symlink a package folder
.
.SH "SYNOPSIS"
.
.nf
npm\.command\.link(callback)
npm\.command\.link(packages, callback)
npm\.commands\.link(callback)
npm\.commands\.link(packages, callback)
.
.fi
.
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-LOAD" "3" "June 2014" "" ""
.TH "NPM\-LOAD" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-load\fR \-\- Load config settings
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-LS" "3" "June 2014" "" ""
.TH "NPM\-LS" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-ls\fR \-\- List installed packages
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-OUTDATED" "3" "June 2014" "" ""
.TH "NPM\-OUTDATED" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-outdated\fR \-\- Check for outdated packages
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-OWNER" "3" "June 2014" "" ""
.TH "NPM\-OWNER" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-owner\fR \-\- Manage package owners
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-PACK" "3" "June 2014" "" ""
.TH "NPM\-PACK" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-pack\fR \-\- Create a tarball from a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-PREFIX" "3" "June 2014" "" ""
.TH "NPM\-PREFIX" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-prefix\fR \-\- Display prefix
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-PRUNE" "3" "June 2014" "" ""
.TH "NPM\-PRUNE" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-prune\fR \-\- Remove extraneous packages
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-PUBLISH" "3" "June 2014" "" ""
.TH "NPM\-PUBLISH" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-publish\fR \-\- Publish a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-REBUILD" "3" "June 2014" "" ""
.TH "NPM\-REBUILD" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-rebuild\fR \-\- Rebuild a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-REPO" "3" "June 2014" "" ""
.TH "NPM\-REPO" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-repo\fR \-\- Open package repository page in the browser
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-RESTART" "3" "June 2014" "" ""
.TH "NPM\-RESTART" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-restart\fR \-\- Start a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-ROOT" "3" "June 2014" "" ""
.TH "NPM\-ROOT" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-root\fR \-\- Display npm root
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-RUN\-SCRIPT" "3" "June 2014" "" ""
.TH "NPM\-RUN\-SCRIPT" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-run-script\fR \-\- Run arbitrary package scripts
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-SEARCH" "3" "June 2014" "" ""
.TH "NPM\-SEARCH" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-search\fR \-\- Search for packages
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-SHRINKWRAP" "3" "June 2014" "" ""
.TH "NPM\-SHRINKWRAP" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-shrinkwrap\fR \-\- programmatically generate package shrinkwrap file
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-START" "3" "June 2014" "" ""
.TH "NPM\-START" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-start\fR \-\- Start a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-STOP" "3" "June 2014" "" ""
.TH "NPM\-STOP" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-stop\fR \-\- Stop a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-SUBMODULE" "3" "June 2014" "" ""
.TH "NPM\-SUBMODULE" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-submodule\fR \-\- Add a package as a git submodule
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-TAG" "3" "June 2014" "" ""
.TH "NPM\-TAG" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-tag\fR \-\- Tag a published version
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-TEST" "3" "June 2014" "" ""
.TH "NPM\-TEST" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-test\fR \-\- Test a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-UNINSTALL" "3" "June 2014" "" ""
.TH "NPM\-UNINSTALL" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-uninstall\fR \-\- uninstall a package programmatically
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-UNPUBLISH" "3" "June 2014" "" ""
.TH "NPM\-UNPUBLISH" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-unpublish\fR \-\- Remove a package from the registry
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-UPDATE" "3" "June 2014" "" ""
.TH "NPM\-UPDATE" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-update\fR \-\- Update a package
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-VERSION" "3" "June 2014" "" ""
.TH "NPM\-VERSION" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-version\fR \-\- Bump a package version
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-VIEW" "3" "June 2014" "" ""
.TH "NPM\-VIEW" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-view\fR \-\- View registry info
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-WHOAMI" "3" "June 2014" "" ""
.TH "NPM\-WHOAMI" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-whoami\fR \-\- Display npm username
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM" "3" "June 2014" "" ""
.TH "NPM" "3" "July 2014" "" ""
.
.SH "NAME"
\fBnpm\fR \-\- node package manager
@@ -21,7 +21,7 @@ npm\.load([configObject, ]function (er, npm) {
.fi
.
.SH "VERSION"
1.4.14
1.4.21
.
.SH "DESCRIPTION"
This is the API documentation for npm\.
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-FOLDERS" "5" "June 2014" "" ""
.TH "NPM\-FOLDERS" "5" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-folders\fR \-\- Folder Structures Used by npm
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-FOLDERS" "5" "June 2014" "" ""
.TH "NPM\-FOLDERS" "5" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-folders\fR \-\- Folder Structures Used by npm
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "PACKAGE\.JSON" "5" "June 2014" "" ""
.TH "PACKAGE\.JSON" "5" "July 2014" "" ""
.
.SH "NAME"
\fBpackage.json\fR \-\- Specifics of npm\'s package\.json handling
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPMRC" "5" "June 2014" "" ""
.TH "NPMRC" "5" "July 2014" "" ""
.
.SH "NAME"
\fBnpmrc\fR \-\- The npm config files
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "PACKAGE\.JSON" "5" "June 2014" "" ""
.TH "PACKAGE\.JSON" "5" "July 2014" "" ""
.
.SH "NAME"
\fBpackage.json\fR \-\- Specifics of npm\'s package\.json handling
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-CODING\-STYLE" "7" "June 2014" "" ""
.TH "NPM\-CODING\-STYLE" "7" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-coding-style\fR \-\- npm\'s "funny" coding style
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-CONFIG" "7" "June 2014" "" ""
.TH "NPM\-CONFIG" "7" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-config\fR \-\- More than you probably want to know about npm configuration
@@ -266,6 +266,21 @@ to trust only that specific signing authority\.
.P
See also the \fBstrict\-ssl\fR config\.
.
.SS "cafile"
.
.IP "\(bu" 4
Default: \fBnull\fR
.
.IP "\(bu" 4
Type: path
.
.IP "" 0
.
.P
A path to a file containing one or multiple Certificate Authority signing
certificates\. Similar to the \fBca\fR setting, but allows for multiple CA\'s, as
well as for the CA information to be stored in a file on disk\.
.
.SS "cache"
.
.IP "\(bu" 4
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-DEVELOPERS" "7" "June 2014" "" ""
.TH "NPM\-DEVELOPERS" "7" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-developers\fR \-\- Developer Guide
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-DISPUTES" "7" "June 2014" "" ""
.TH "NPM\-DISPUTES" "7" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-disputes\fR \-\- Handling Module Name Disputes
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-FAQ" "7" "June 2014" "" ""
.TH "NPM\-FAQ" "7" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-faq\fR \-\- Frequently Asked Questions
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-INDEX" "7" "June 2014" "" ""
.TH "NPM\-INDEX" "7" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-index\fR \-\- Index of all npm documentation
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-REGISTRY" "7" "June 2014" "" ""
.TH "NPM\-REGISTRY" "7" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-registry\fR \-\- The JavaScript Package Registry
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-SCRIPTS" "7" "June 2014" "" ""
.TH "NPM\-SCRIPTS" "7" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-scripts\fR \-\- How npm handles the "scripts" field
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-REMOVAL" "1" "June 2014" "" ""
.TH "NPM\-REMOVAL" "1" "July 2014" "" ""
.
.SH "NAME"
\fBnpm-removal\fR \-\- Cleaning the Slate
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
.TH "SEMVER" "7" "June 2014" "" ""
.TH "SEMVER" "7" "July 2014" "" ""
.
.SH "NAME"
\fBsemver\fR \-\- The semantic versioner for npm

This file was deleted.

This file was deleted.