asposepdfnodejs 25.6.0 → 25.7.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/AsposePDFforNode.cjs +2 -2
- package/AsposePDFforNode.mjs +2 -2
- package/AsposePDFforNode.wasm +0 -0
- package/README.md +6 -2
- package/package.json +2 -1
package/AsposePDFforNode.wasm
CHANGED
|
Binary file
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ Add PDF processing, manipulation, and conversion features to your Node.js applic
|
|
|
20
20
|
- **Office formats:** DOC, DOCX, XLS, XLSX, PPTX
|
|
21
21
|
- **Web formats:** SVG, SVG (ZIP), XPS, EPUB
|
|
22
22
|
- **Image formats:** JPEG, PNG, BMP, TIFF, DICOM
|
|
23
|
-
- **Other formats:** Grayscale PDF, PDF/A, TeX, TXT
|
|
23
|
+
- **Other formats:** Grayscale PDF, PDF/A, TeX, TXT, Markdown
|
|
24
24
|
- **Manipulate** PDF structure and content:
|
|
25
25
|
- Bookmarks, hyperlinks, annotations, attachments, JavaScript
|
|
26
26
|
- Fonts, metadata, layers, background color
|
|
@@ -78,6 +78,10 @@ Are you ready to give Aspose.PDF for Node.js via C++ a try?
|
|
|
78
78
|
|
|
79
79
|
- Execute `npm install asposepdfnodejs` in Terminal in Visual Studio Code or in another console.
|
|
80
80
|
|
|
81
|
+
Prefer to work with the source code directly?
|
|
82
|
+
|
|
83
|
+
- Execute `git clone https://github.com/aspose-pdf/Aspose.PDF-for-Node.js-via-CPP.git`, then `cd Aspose.PDF-for-Node.js-via-CPP` and `npm install` to set up the project locally.
|
|
84
|
+
|
|
81
85
|
## Setting up
|
|
82
86
|
|
|
83
87
|
- You need arial.ttf and times.ttf fonts to perform basic operations
|
|
@@ -133,4 +137,4 @@ const json = AsposePdfModule.AsposePdfToDocX(pdf_file, "ResultPDFtoDocX.docx");
|
|
|
133
137
|
console.log("AsposePdfToDocX => %O", json.errorCode == 0 ? json.fileNameResult : json.errorText);
|
|
134
138
|
```
|
|
135
139
|
|
|
136
|
-
[Home](https://www.aspose.com/) | [Product Page](https://products.aspose.com/pdf/nodejs-cpp/) | [Docs](https://docs.aspose.com/pdf/nodejs-cpp/) | [Demos](https://products.aspose.app/pdf/family) | [API Reference](https://reference.aspose.com/pdf/nodejs-cpp/) | [Examples](https://github.com/aspose-pdf/
|
|
140
|
+
[Home](https://www.aspose.com/) | [Product Page](https://products.aspose.com/pdf/nodejs-cpp/) | [Docs](https://docs.aspose.com/pdf/nodejs-cpp/) | [Demos](https://products.aspose.app/pdf/family) | [API Reference](https://reference.aspose.com/pdf/nodejs-cpp/) | [Examples](https://github.com/aspose-pdf/Aspose.PDF-for-Node.js-via-CPP/) | [Blog](https://blog.aspose.com/category/pdf/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/pdf) | [Temporary License](https://purchase.aspose.com/temporary-license)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "asposepdfnodejs",
|
|
3
3
|
"description": "Aspose.PDF for Node.js via C++",
|
|
4
|
-
"version": "25.
|
|
4
|
+
"version": "25.7.0",
|
|
5
5
|
"homepage": "https://products.aspose.com/pdf/nodejs-cpp/",
|
|
6
6
|
"readmeFilename": "README.md",
|
|
7
7
|
"main": "./AsposePDFforNode.cjs",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"example.mjs"
|
|
24
24
|
],
|
|
25
25
|
"scripts": {
|
|
26
|
+
"prepare": "node -e \"if(require('fs').existsSync('AsposePDFforNode.wasm.gz')){require('fs').createReadStream('AsposePDFforNode.wasm.gz').pipe(require('zlib').createGunzip()).pipe(require('fs').createWriteStream('AsposePDFforNode.wasm')).on('finish',()=>console.log('AsposePDFforNode.wasm extracted'));}else{console.log('AsposePDFforNode.wasm.gz not found - skipping extraction.');}\"",
|
|
26
27
|
"example:cjs": "node ./example.cjs",
|
|
27
28
|
"example:esm": "node ./example.mjs"
|
|
28
29
|
},
|