GroupDocs.Redaction for Node.js via Java

groupdocs-redaction-nodejs-java-home

Release notes Package repository

GroupDocs.Redaction for Node.js via Java brings the GroupDocs.Redaction for Java API to Node.js so you can build on-premise apps that permanently remove or mask sensitive content without sending files to a third-party service.

Work with PDF, Word, Excel, PowerPoint, images, and other supported formats. Apply text, metadata, annotation, spreadsheet, and image-area redactions, optionally with page filters or OCR for text on images. Save in the original format or as a rasterized PDF when you need irreversible page images.

Install from npm (@groupdocs/groupdocs.redaction), point JAVA_HOME at a supported JDK, and call the same Java API surface from JavaScript.

Quick example

const redaction = require('@groupdocs/groupdocs.redaction');

const redactor = new redaction.Redactor('sample.docx');
try {
  redactor.apply(new redaction.ExactPhraseRedaction(
    'John Doe',
    new redaction.ReplacementOptions('[personal]')));
  redactor.save();
} finally {
  redactor.close();
}