繁体   English   中英

Node.js:NPM文档是最新的吗?

[英]Node.js: Is the NPM documentation up to date?

我正在查看NPM(节点包管理器)的文档,我无法找到有关所有命令的信息。 这些是NPM附带的命令:

add-user, adduser, apihelp, author, bin, bugs, c, cache,
    completion, config, ddp, dedupe, deprecate, docs, edit,
    explore, faq, find, find-dupes, get, help, help-search,
    home, i, info, init, install, isntall, la, link, list, ll,
    ln, login, ls, outdated, owner, pack, prefix, prune,
    publish, r, rb, rebuild, remove, restart, rm, root,
    run-script, s, se, search, set, show, shrinkwrap, star,
    start, stop, submodule, tag, test, tst, un, uninstall,
    unlink, unpublish, unstar, up, update, version, view,
    whoami

然而,文档中不包含这些命令中的一小部分。 文档是最新的还是什么? NPM可能有更好,更清晰,更全面的文件吗? 我没有在GitHub上看到任何东西。

文档是最新的,并没有任何实际遗漏。 只是许多命令是其他命令的未记录的别名。 要找到别名后面的真实命令,只需键入npm help <alias>

以下是此答案发布时的别名列表:

add-user     adduser
apihelp      help
author       owner
c            config
find         search
find-dupes   dedupe
get          config
home         docs
i            install
info         view
isntall      install
la           ls
list         ls
ll           ls
ln           link
login        adduser
r            rm
rb           rebuild
remove       rm
s            search
se           search
set          config
show         view
tst          test
un           rm
uninstall    rm
unlink       rm
up           update

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM