0.5.1 • Published 5 months ago

@hckrnews/converter v0.5.1

Weekly downloads
7
License
MIT
Repository
github
Last release
5 months ago

@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
0.5.1

5 months ago

0.5.0

2 years ago

0.4.5

2 years ago

0.4.4

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago