关于 npm

npm 是世界上最大的软件注册表。来自各大洲的开源开发人员使用 npm 来共享和借用包,许多组织也使用 npm 来管理私有开发。

npm 由三个不同的组件组成:

  • 网站
  • 命令行界面 (CLI)
  • 注册表

使用 website 发现包、设置配置文件和管理 npm 体验的其他方面。例如,您可以设置 组织 来管理对公共或私有包的访问。

CLI 从终端运行,是大多数开发人员与 npm 交互的方式。

Y8bvXQ8IXec/B0KL7JwoNFvm4VqpXuxlV/sxwZOFZ9WcTPSSTrXBtXBo0Ni3/YMmifsu7gXIEpXtoi5vAxg2hAFJ06juYC4Msei43h8cqIr7dUf22GM1eEsA+Zg/FsQNJMmbwUa9vVUL4uk1zhq/CQdjgpdjcG7tY7zbnfiRU1gwkC9VxTLtNAxuWgnylR1C

使用 npm 去 . . .

    bQV5WvRCxgjNzSy2t9Ul27+UHZN/Ot4JLMOzm7HHM3svWfW3XNBxtrtqv/n7g/5J2yay5ybox/I0TK199GSas6wKOEKE5cAHl2mFFi4PXET2Mjun1nAoYzApKXKmt/VWNPygodmbLOApS3VjTv9DM9BWeAK3LjsQQ9CKWwDW+Ae3SH5osHnoy5myl3seHms+FeLtFezUgHuFp1y9pMcOOpPUsUgZ50Qs93ResPeajOKteojkm/+sZ8vrTU8KRNaKo8CX3lFaKOhwD/N4slWJQajh2XdSRjRosD1qIDvFJAz2veqW/sfJKhTovL6TglC2C9dhO6Q22IjAhK58GO5pc2L6SxkYlyx15ht8K9lazZM8B7NAMGRuL+rr0dms68O2a7EyBcTkZcUVkIQs3N/3ErCXrXAM4NT78/hbX0hG4J8HuLN6VZ2j4giXE8WQqS0648/vmwr17c0BPbKb+w8JkBHGD2CWUJIQule9dOdDj0X9YLvnBjw0lbKfvS08TPe+YHrDWtX8GGLQLfa8XJmKBgn+rirIG7t5R8mNFh5N55ZzO+Ce8BZ61Q7UwKACFSvAHyV/bRwkHdQvxVeSl+XB4hW1q5wudoyPf4fyN3YMIsHzy2WD3D5Whj8dQ7ygvdzGC9dqE5Aw/U32NP3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