Aspose.PDF Cloud is a REST API for creating and editing PDF files. Most popular features proposed by Aspose.PDF Cloud: PDF to Word, Convert PDF to Image, Merge PDF, Split PDF, Add Images to PDF, Rotate PDF. It can also be used to convert PDF files to diff
npm install asposepdfcloud !npm !npm bundle size !node-current !npm type definitions 
Our Cloud SDKs are wrappers around REST API in various programming languages, allowing you to process documents in language of your choice quickly and easily, gaining all benefits of strong types and IDE highlights. This repository contains new generation SDKs for Aspose.PDF Cloud and examples.
These SDKs are now fully supported. If you have any questions, see any bugs or have enhancement request, feel free to reach out to us at Free Support Forums.
Extract Text & Images of a PDF document online https://products.aspose.app/pdf/parser.
- Add PDF document's header & footer in text or image format.
- Add tables & stamps (text or image) to PDF documents.
- Append multiple PDF documents to an existing file.
- Work with PDF attachments, annotations, & form fields.
- Apply encryption or decryption to PDF documents & set a password.
- Delete all stamps & tables from a page or entire PDF document.
- Delete a specific stamp or table from the PDF document by its ID.
- Replace single or multiple instances of text on a PDF page or from the entire document.
- Extensive support for converting PDF documents to various other file formats.
- Extract various elements of PDF files & make PDF documents optimized.
From the command line:
``bash`
$ npm install asposepdfcloud --save`Get PDF Page Annotations in Node.Js
js
// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
const pdfApi = new PdfApi("MY_CLIENT_ID", "MY_CLIENT_SECRET");
let pageNumber = 1;
let pdfDocName = "example.pdf";
let remoteFolder = "folderName";
pdfApi.getPageAnnotations(pdfDocName, pageNumber, null, remoteFolder)
.then((result) => {
console.log(result.response);
console.log(result.body);
});
`
js
const pdfApi = new PdfApi("MY_SELFHOST_URL");
`Use cases
The Aspose.PDF Cloud SDK includes a set of ready-to-run use cases in the "UsesCases" directory. These examples illustrate common operations such as managing annotations, attachments, text, and more.
1. Add your API credentials client_id and client_secret into settings/credentials.json:
`
{
"client_secret": "YOUR_CLIENT_SECRET",
"client_id": "YOUR_CLIENT_ID"
}
2. Run `npm install` from UsesCases directory to install dependencies.
`
3. Launch use case from root directory:
`
node UsesCases/Compares/comparesLaught.js
``