🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@ooxml-tools/render

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ooxml-tools/render

Render Office Open XML files in native applications (word, pages, etc...)

latest
Source
npmnpm
Version
0.5.3
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

@ooxml-tools/render

Render Office Open XML files in native applications (word, pages, etc...)

Support for rendering

  • .docxWordprocessingML
  • .xlsxSpreadsheetML
  • .pptx — PresentationML

This tool can be used as a part of visual regression for various editors

Support

  • .docx
    • msword — ✅ macos / 🔜 win
    • pages — ✅ macos
    • libreoffice — ✅ macos / 🔜 linux / 🔜 win
    • googledocs — 🔜
    • onedrive — 🔜
  • .pptx
    • powerpoint — 🔜 macos / 🔜 win
    • keynote — ✅ macos
    • libreoffice — ✅ macos / 🔜 linux / 🔜 win
    • googledocs — 🔜
    • onedrive — 🔜
  • .xlsx
    • excel — 🔜 macos / 🔜 win
    • numbers — ✅ macos
    • libreoffice — ✅ macos / 🔜 linux / 🔜 win
    • googledocs — 🔜
    • onedrive — 🔜

Requirements

You must have the apps you wish to use above installed on your machine.

We use imagemagick for converting PDFs created from the various editors. So you must either have the imagemagick CLI installed locally or docker/docker-compose installed on your machine.

Usage

import render from "@ooxml-tools/render";

const input = await readFile("./test.docx");
const outputDir = "./output/";
await render(input, ["msword"], { outputDir });

CLI

npx @ooxml-tools/render --help
# ooxml-render <command> [args]
#
# Commands:
#   render <filepath>   render files
#   support <filepath>  list supported apps for <filepath>
#
# Options:
#   --version  Show version number                                       [boolean]
#   --help     Show help                                                 [boolean]

License

MIT

FAQs

Package last updated on 09 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts