Install GroupDocs.Redaction for Node.js via Java
Leave feedback
View as MarkdownMarkdown
- Node.js 20 LTS or later
- Java JRE/JDK 8+ (17 LTS recommended)
- Native build tools if required by
node-gyp on your OS
See System requirements.
Note: The current version shown below is 26.11.0. Always check npm for the latest version.
npm install @groupdocs/groupdocs.redaction@26.11.0
Or with yarn / pnpm:
yarn add @groupdocs/groupdocs.redaction@26.11.0
pnpm add @groupdocs/groupdocs.redaction@26.11.0
Windows (PowerShell):
$env:JAVA_HOME="C:\Program Files\Java\jdk-17"
$env:Path="$env:JAVA_HOME\bin;$env:Path"
Linux/macOS:
export JAVA_HOME=/usr/lib/jvm/java-17
export PATH="$JAVA_HOME/bin:$PATH"
const redaction = require('@groupdocs/groupdocs.redaction');
try {
console.log('Redactor:', typeof redaction.Redactor);
console.log('GroupDocs.Redaction loaded successfully.');
process.exit(0);
} catch (e) {
console.error('Failed to load GroupDocs.Redaction:', e);
process.exit(1);
}
Run with node check.js.
const redaction = require('@groupdocs/groupdocs.redaction');
const license = new redaction.License();
license.setLicense('GroupDocs.Redaction.lic');
Without a license the evaluation limitations apply — see Evaluation limitations and licensing.
We value your opinion. Your feedback will help us improve our documentation.