0

NPM (Node Package Manager) のドキュメントを調べていますが、すべてのコマンドに関する情報を見つけることができません。これらは、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で何も見ていません。

4

1 に答える 1

2

ドキュメントは最新のものであり、実際に不足しているものはありません。コマンドの多くは、文書化されていない他のコマンドのエイリアスであるというだけです。エイリアスの背後にある実際のコマンドを見つけるには、単に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
于 2013-09-25T02:11:12.203 に答える