This package provides a command-line utility to fetch a webpage and save it as a readable ePub file. It's designed to simplify the process of saving online articles and web content for offline reading.
To install save-page-as-epub
globally on your system, run:
npm install -g save-page-as-epub
To save a webpage as an ePub file, run:
savePageAsEpub <url>
- @mozilla/readability: Parses the webpage for readable content.
- jsdom: Provides DOM functionality for parsing webpages.
- epub-gen: Generates ePub files from processed content.