node-poppler 9.0.0 → 9.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -4
- package/package.json +2 -1
- package/src/index.js +547 -444
- package/types/index.d.ts +30 -13
- package/types/index.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -39,12 +39,10 @@ For macOS users, the binaries can be installed with [Homebrew](https://brew.sh/)
|
|
|
39
39
|
brew install poppler
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
## API
|
|
43
|
-
|
|
44
|
-
API documentation can be found [here](https://github.com/Fdawgs/node-poppler/blob/main/API.md).
|
|
45
|
-
|
|
46
42
|
## Example usage
|
|
47
43
|
|
|
44
|
+
Please refer to the [JSDoc comments in the source code](./src/index.js) or the [generated type definitions](https://www.npmjs.com/package/node-poppler?activeTab=code) for information on the available options.
|
|
45
|
+
|
|
48
46
|
### poppler.pdfToCairo
|
|
49
47
|
|
|
50
48
|
Example of an `async` `await` call to `poppler.pdfToCairo()`, to convert only the first and second page of a PDF file to PNG:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-poppler",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.1.0",
|
|
4
4
|
"description": "Asynchronous Node.js wrapper for the Poppler PDF rendering library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"async",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"camelcase": "^6.3.0",
|
|
54
|
+
"ice-barrage": "^1.0.0",
|
|
54
55
|
"semver": "^7.7.2"
|
|
55
56
|
},
|
|
56
57
|
"optionalDependencies": {
|