Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sp-wiki-to-docx

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sp-wiki-to-docx

Convert a sharepoint wiki library into a DOCX file

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

SPWikiToDocx

Convert a sharepoint wiki library into a DOCX file. The tool reads each Wiki page in a given SP library and combines all of the contents of the Wiki pages into a single HTML chunk. html-docx-js is used to convert that one large HTML chunk into a DOCX file. The tool attempts to retrieve each of the images referenced by the Wiki pages and embeds the images as base64 data in the HTML files ("data:image/png;base64,XXXXX") so that the images are visible in the output.

Dependencies

  • html-docx-js
  • q
  • readline
  • request
  • sharepoint
  • xml2js
  • yargs

Installation

npm install sp-wiki-to-docx -g

Usage

sp-wiki-to-docx -s SITE_URL -l LIBRARY_NAME -u USERNAME -o output.docx

Options:

LongShortDescriptionRequired?
--site-sThe site URLYes
--library-lThe name of the library (no spaces)\nex: "GeneralGuides"Yes
--username-uSharepoint online username\nEx: my@email.comYes
--password-pSharepoint online passwordNo, will prompt if not specified on command line
--output-oThe file to save the output to (default: "output.docx")No
--combinedHtml-cThe file to save the combined HTML output to\nex: output.htmlNo

Keywords

FAQs

Package last updated on 28 Mar 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc