问题描述
cdnjs与npmjs有什么区别?我是Javascript和编程的新手,所以这可能是一个真正的新问题,并且可能存在真正的巨大差异。
What is the difference between cdnjs vs npmjs? Im new to Javascript and programming in general so this probably is a real newb question and there's probably a real big difference.
但它是什么,区别?并且npm是一种CDN(内容传送网络)?
But what is it, the difference? And is npm a type of CDN (content delivery network)?
推荐答案
npmjs(节点包管理器)是包含节点模块的存储库/包。您可以从那里搜索和下载节点模块。
npmjs(Node Package Manager) is repository consisting node modules/packages. you can search and download node modules from there.
cdnjs是JavaScript库文件的Content Delivery Network。您可以从cdnjs添加JavaScript库的引用,而无需将它们放在您的服务器上。
cdnjs is Content Delivery Network for JavaScript library files. You can add reference of JavaScript libraries from cdnjs without requiring them to be on your server.
这篇关于什么是cdnjs与npmjs之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!