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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With