Skip to content

Commit

Permalink
docs: minor clarifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Jan 19, 2020
1 parent 9be9adf commit 374b774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Intro

The node-poppler module was created out of a need for a PDF-to-HTML conversion tool at [Yeovil District Hospital NHSFT](https://yeovilhospital.co.uk/) to convert clinical documents to HTML.
The node-poppler module was created out of a need for a PDF-to-HTML conversion module at [Yeovil District Hospital NHSFT](https://yeovilhospital.co.uk/) to convert clinical documents in PDF format to HTML.
This allows the documents to be dispatched electronically via the [NHS MESH system](https://digital.nhs.uk/services/message-exchange-for-social-care-and-health-mesh) to other NHS bodies.

There are a number of other Poppler wrapper modules available but the majority are no longer maintained or did not provide full interfacing with the Poppler binaries (i.e. only provided an interface to the PDF-to-Cairo binary but not to HTML).
Expand Down Expand Up @@ -59,7 +59,7 @@ const poppler = new Poppler('./usr/bin');

`options` object requires atleast one of the following to be set: `jpegFile`; `pdfFile`; `pngFile`; `psFile`; `svgFile`; `tiffFile`.

Example of calling poppler.pdfToCairo with a promise:
Example of calling poppler.pdfToCairo with a promise, to convert only the first and second page of a PDF file to PNG:

```js
const { Poppler } = require('node-poppler');
Expand Down

0 comments on commit 374b774

Please sign in to comment.