New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

docx-preview-node

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docx-preview-node

The docx document rendering library for nodeJs

latest
Source
npmnpm
Version
0.3.6
Version published
Maintainers
1
Created
Source

docx-preview-node

The docx document rendering library for nodeJs

npm version Introduction

This library is inspired by the docx-preview library. Thanks to the author VolodymyrBaydalka for his hard work. I forked the project and modified it to support nodeJs environment. To achieve this goal, I just changed several file that changed window|document|DOMParser|Node|HTMLElement to jsdom. And I have to changed the compiler and enabled the condition compilation. so that docx-preview.js is the edition for nodeJs require(main) and docx-preview.browser.js is the edition for browser(manually).

Keywords

word

FAQs

Package last updated on 03 Jul 2025

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