New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

docsify-to-desktop

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

docsify-to-desktop

Converts docsify produced documentation into a single HTML file which can be opened without running on a web server. I.E. It can be opened by launching the webpage from your desktop and you won't get XMLHttpRequest errors.

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

docsify-to-desktop

Description

Converts docsify produced documentation into a single HTML file which can be opened without running on a web server. I.E. It can be opened by launching the webpage from your desktop and you won't get XMLHttpRequest errors.

It:

  • Bundles the contents of all .md files into the HTML
  • Patches XMLHttpRequest to trick it into loading the md content from the HTML file instead of a Http Request
  • Optionally downloads remote CSS and JS and embeds them into the HTML
  • Writes the new index.html file to index-desktop.html

Install

npm i -g docsify-to-desktop


Usage

# Init docsify (or use existing)
docsify init docs

# Bundle the docsify files found in the docs folder
docsify-to-desktop docs

# Run docsify-to-desktop without specifying a folder to run in the current directory
cd docs
docsify-to-desktop

Options

  • --input - Default index.html
  • --output - Default index-output.html
  • --embed-styles - Download and embed remote stylesheets
  • --embed-scripts - Download and embed remote scripts

FAQs

Package last updated on 25 Mar 2021

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