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

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/.
主站蜘蛛池模板: 溧阳市| 共和县| 天全县| 苗栗县| 叙永县| 横峰县| 通化县| 梅河口市| 海城市| 祥云县| 郧西县| 石楼县| 陆河县| 赤城县| 罗江县| 呼伦贝尔市| 丰镇市| 长白| 雅安市| 江永县| 岳普湖县| 海阳市| 恭城| 新巴尔虎左旗| 徐水县| 济阳县| 永泰县| 甘南县| 广水市| 镇巴县| 西盟| 顺昌县| 霞浦县| 慈溪市| 浦县| 南江县| 绵阳市| 闽侯县| 格尔木市| 武山县| 句容市|