@glue42/office

Glue42 for Office

Usage no npm install needed!

<script type="module">
  import glue42Office from 'https://cdn.skypack.dev/@glue42/office';
</script>

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)