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

epubconventer

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

epubconventer

Epub conventer

  • 0.1.0
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

Epub Converter

A Node.js script for converting PDF files to EPUB format using the ebook-convert tool from Calibre.

Installation

Before using this script, you need to have the ebook-convert tool installed on your machine. You can download the latest version of Calibre, which includes the ebook-convert tool, from the Calibre website.

Once you have ebook-convert installed, you can install this script using npm:

npm install epubconventer

Usage

To use this script, require the EpubConverter class and create a new instance with the path to the directory containing the PDF files you want to convert, and optionally a path to the output directory:

const EpubConverter = require('epubconverter');
const converter = new EpubConverter('/path/to/pdf/files', '/path/to/output/directory');

Then call the convert method to convert all the PDF files in the target directory to EPUB format:

converter.convert();

The convert method returns a Promise that resolves when all the conversions have completed.

License This script is licensed under the MIT License.pub conventer

Keywords

FAQs

Package last updated on 16 Apr 2023

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