Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for each function's bin path to be seperately defined #572

Open
3 tasks done
Fdawgs opened this issue Mar 12, 2024 · 0 comments
Open
3 tasks done

Allow for each function's bin path to be seperately defined #572

Fdawgs opened this issue Mar 12, 2024 · 0 comments
Assignees

Comments

@Fdawgs
Copy link
Owner

Fdawgs commented Mar 12, 2024

Prerequisites

  • I have written a descriptive title

  • I have searched existing feature requests to ensure it has not already been proposed

  • I agree to follow the Code of Conduct that this project adheres to

Description

At present, all functions use the popplerPath property for their bin path.

This should be broken down to an individual level so that it can be modified if needs be:

const { Poppler } = require('node-poppler');

const poppler = new Poppler('/usr/bin');

poppler.pdfToTextPath = '/totallydifferentpath/bin';
poppler.pdfToHtmlPath = '/anotherpath';

await poppler.pdfToText(new Buffer('bleh'));
@Fdawgs Fdawgs changed the title Allow for each binaries path to be seperately defined Allow for each function's bin path to be seperately defined Mar 12, 2024
@Fdawgs Fdawgs self-assigned this Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant