Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can I install office js using npm

Tags:

I couldn't find way to install office js api using npm.

Can you please let us know the name of the office js package.

Currently I am referencing it from index.html thru this link https://appsforoffice.microsoft.com/lib/1/hosted/Office.js

but I would like to add this as part of my web pack bundling.

like image 224
angularUser Avatar asked Dec 11 '16 12:12

angularUser


1 Answers

As an update: the NPM package (as a reflection of the files on the CDN) is now available at https://www.npmjs.com/package/@microsoft/office-js, with all of the JS files in the dist folder. The files are also available via a GitHub repo, which also offers a more extensive README: https://github.com/OfficeDev/office-js.

like image 110
Michael Zlatkovsky - Microsoft Avatar answered Sep 23 '22 17:09

Michael Zlatkovsky - Microsoft