Nautilus: Pelagic Mollusc

    office-addin-manifest-converter
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.2 • Public • Published

    Office-Addin-Manifest-Converter

    This package provides the ability to convert an XML manifest to JSON manifest for Office add-ins.

    Command-Line Interface

    convert

    Convert the Office add-in manifest from XML format to JSON format.

    Syntax:

    office-addin-manifest-converter convert <xml-manifest-file> [options]

    xml-manifest-file: path to the XML manifest file.

    Options:

    -o json-manifest-folder or --output json-manifest-folder

    Specify the path to an output folder that will contain the generated JSON manifest file and related files.

    API Usage

    This package provides an API called convert. The API takes two parameters:

    convert(inputXmlManifestFile: string, outputJsonManifestFolder: string);

    inputXmlManifestFile: path of the input XML manifest file.

    outputJsonManifestFolder: path of the output folder that will contain all generated files, including one JSON manifest file and a few icon files.

    The following example converts an XML manifest file, C:\xmlManifests\myAddin.xml, to json manifest and put the converted files into C:\jsonManifests\myAddin folder.

    var converter = require("office-addin-manifest-converter");
    
    converter.convert("C:/xmlManifests/myAddin.xml", "C:/jsonManifests/myAddin");

    Keywords

    none

    Install

    npm i office-addin-manifest-converter

    DownloadsWeekly Downloads

    65

    Version

    0.1.2

    License

    MIT

    Unpacked Size

    2.66 MB

    Total Files

    50

    Last publish

    Collaborators

    • yihuax