简介

npm makes it easy for JavaScript developers to share and reuse code, and it makes it easy to update the code that you're sharing.

  • Getting Started
    1. What is npm?
    2. Installing Node.js and updating npm
    3. Fixing npm permissions
    4. Installing npm packages locally
    5. Updating local packages
    6. Uninstalling local packages
    7. Installing npm packages globally
    8. Updating global packages
    9. Uninstalling global packages
    10. Creating Node.js modules
    11. Publishing npm packages
    12. Semantic versioning and npm
    13. Working with scoped packages
    14. Working with Organizations
  • Private Modules
    1. Working with private modules
    2. Downloading modules to CI/deployment servers
  • Using npm
    • coding-style npm-coding-style
    • config npm-config
    • developers npm-developers
    • disputes npm-disputes
    • faq npm-faq
    • orgs npm-orgs
    • registry npm-registry
    • removing-npm npm-removal
    • scope npm-scope
    • scripts npm-scripts
    • semver semver
  • npm Enterprise
    • Introduction
    • Quickstart
    • Requirements
    • Installing the server
    • Configuring the client
    • Using npm Enterprise
    • Mirroring the public registry
    • GitHub integration
    • Updating npm Enterprise
    • Customizing server configuration
    • Custom authentication
    • No authentication
  • CLI Commands
    • access npm-access
    • adduser npm-adduser
    • bin npm-bin
    • bugs npm-bugs
    • build npm-build
    • bundle npm-bundle
    • cache npm-cache
    • completion npm-completion
    • config npm-config
    • dedupe npm-dedupe
    • deprecate npm-deprecate
    • dist-tag npm-dist-tag
    • docs npm-docs
    • edit npm-edit
    • explore npm-explore
    • help npm-help
    • help-search npm-help-search
    • init npm-init
    • install npm-install
    • link npm-link
    • logout npm-logout
    • ls npm-ls
    • npm npm
    • outdated npm-outdated
    • owner npm-owner
    • pack npm-pack
    • ping npm-ping
    • prefix npm-prefix
    • prune npm-prune
    • publish npm-publish
    • rebuild npm-rebuild
    • repo npm-repo
    • restart npm-restart
    • root npm-root
    • run-script npm-run-script
    • search npm-search
    • shrinkwrap npm-shrinkwrap
    • star npm-star
    • stars npm-stars
    • start npm-start
    • stop npm-stop
    • tag npm-tag
    • team npm-team
    • test npm-test
    • uninstall npm-rm
    • unpublish npm-unpublish
    • update npm-update
    • version npm-version
    • view npm-view
    • whoami npm-whoami
  • Configuring npm
    • folders npm-folders
    • npmrc npmrc
    • package.json package.json
  • npm policy documents
    • conduct
    • disputes
    • dmca
    • license
    • privacy
    • README
    • receiving-reports
    • recruiting-process
    • trademark