官术网_书友最值得收藏!

npm

npm is a package manager for JavaScript. It includes a command-line tool, coincidentally called npm, and it uses an online repository known as the npm registry to find, retrieve and deploy new packages your code might need. The SharePoint Framework uses npm packages in the base template you'll typically be using. In addition, new SharePoint Framework templates and functionality will be published as npm packages.

Think of npm as the tool that allows you to interact with a vast library of pre-made packages, that in turn will aid you in building SharePoint Framework packages. The rough equivalent of npm in the .NET world would be NuGet.

For example, the package named @microsoft/sp-client-base is a base package that the SharePoint Framework uses in the base project template, and the latest stable version will be automatically fetched from the npm repository at https://www.npmjs.com/package/@microsoft/sp-core-library.

You can find more information on npm at https://www.npmjs.com/.
主站蜘蛛池模板: 临安市| 米易县| 吴桥县| 阿勒泰市| 栖霞市| 长葛市| 柞水县| 紫金县| 广汉市| 子长县| 景宁| 金堂县| 青龙| 伊宁市| 邛崃市| 甘洛县| 濮阳市| 涟水县| 贺州市| 大石桥市| 定西市| 广东省| 曲阜市| 桑日县| 长宁区| 额敏县| 瑞安市| 镇安县| 临西县| 隆安县| 汉阴县| 汕尾市| 乳山市| 朝阳县| 西峡县| 时尚| 南投市| 汪清县| 昆明市| 天台县| 邢台市|