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

@hckrnews/converter

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hckrnews/converter

Convert files

  • 0.5.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@hckrnews/converter

Convert files.

If you want convert files, you can do it with this script.

Installation

npm install @hckrnews/converter

Debian/Ubuntu:

sudo apt install imagemagick ghostscript

Example usage

import Converter from '../src/converter.js';

const converter = Converter.create({
    file:  'test/xyz.pdf',
    output: 'output/',
    sync: true
});

const result = converter.convert();

Props

file: path to the file.

output: Output folder.

customConverter: set a custom converter

Test the package.

npm test

This will run all the tests in the test folder with mocha.

If you only want to check the eslint rules, just run.

npm run lint

Keywords

FAQs

Package last updated on 25 Jul 2024

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