JSPM

  • Created
  • Published
  • Downloads 268
  • Score
    100M100P100Q93563F
  • License SEE LICENSE IN license.md

Glue42 for Office

Package Exports

  • @glue42/office
  • @glue42/office/dist/cjs/index.js
  • @glue42/office/dist/es/main.js
  • @glue42/office/dist/web-bundle/office.min.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@glue42/office) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Intro

@glue42/office is a JavaScript library that allows Glue42-enabled applications to interact with Microsoft Office applications, using Glue42 Desktop functionalities.

@glue42/office includes the following modules:

  • Excel
  • Outlook
  • Word
  • (upcoming) PowerPoint

For more information, check the Glue42 Office Connectors documentation.

Usage

import Glue4Office from "@glue42/office";

const g4oConfig = {
    application: 'Office Interop',
    excel: true,    // enable Excel interop
    word: true,     // enable Word interop
    outlook: false  // disable Outlook interop
}
Glue4Office(g4oConfig)
    .then(g4o => {
        // g4o is a reference to the Glue4Office API
        window.g4o = g4o // expose g4o as a global var
        // use g4o
    })
    .catch(console.error)