GroupDocs.Metadata for Node.js via Java

Extract Metadata from ZIP Files

Extract metadata from a wide range of documents, images, audio & video formats using GroupDocs.Metadata for Node.js via Java.

How to Extract Metadata from ZIP Files in Node.js with GroupDocs.Metadata

Easily extract metadata from ZIP files within your Node.js via Java applications using GroupDocs.Metadata. Here’s how:

  1. Load the ZIP file you want to extract metadata from.
  2. Use a filter to specify which details you want to extract.
  3. Start the extraction process using the FindProperties.
  4. Access the extracted details for your application’s needs.

// Extract all details from a ZIP file

// Compose Metadata passing ZIP to constructor
const metadata = new groupdocs.metadata.Metadata('input.zip');

// Extract all details from a file
var searchSpecification = new groupdocs.metadata.
    FallsIntoCategorySpecification(groupdocs.metadata.Tags.getContent());

var properties = metadata.findProperties(searchSpecification);

// Use the extracted metadata for your application
for (var i =0; i< properties.getCount(); i++) {
    console.log('Property name: ${properties.get_Item(i).getName()}, 
                 Property value: ${properties.get_Item(i).getValue()}');
}
npm i @groupdocs/groupdocs.metadata
click to copy
copied
More examples Documentation

Find Hidden Metadata in Business Files with GroupDocs.Metadata

Easily search for and manage hidden details (metadata) in sensitive documents with Node.js via Java applications using the GroupDocs.Metadata library.

Search Metadata in Node.js Files

Powerful Metadata Search for Node.js

Boost your document processing in Node.js via Java with GroupDocs.Metadata. Find hidden details quickly and easily using our search tools.

Precise Metadata Filtering

Target specific data you need. Search by text, date, or use special patterns to find exactly what you’re looking for.

Efficient Metadata Management

Use GroupDocs.Metadata to manage the details (metadata) you find in Node.js via Java files. Add, update, or remove details as needed, all within supported file formats.

Read E-Book Details (Node.js via Java Example)

This code example shows how to access details specific to EPUB e-books.

TypeScript


    //  Load the EPUB file into the Metadata object.
    const metadata = new groupdocs.metadata.Metadata('input.epub');

    //  Retrieve all the built-in details from the EPUB file.
    var root = metadata.getRootPackageGeneric();

    //  Use the retrieved data for your application's needs.
    console.log(root.getEpubPackage().getVersion());
    console.log(root.getEpubPackage().getUniqueIdentifier());
    console.log(root.getEpubPackage().getImageCover() != null 
        ? root.getEpubPackage().getImageCover().length : 0);

What is GroupDocs.Metadata for Node.js via Java API?

GroupDocs.Metadata for Node.js via Java lets you easily view, edit, add, remove, find, and manage metadata from images and documents. No external software needed! Extract details from various formats like PDFs, Word documents, Excel sheets, and more. Plus, it offers advanced features for working with metadata.
Learn more
About illustration

Ready to get started?

Download GroupDocs.Metadata for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Reading Details from Other File Types

Extract metadata from various documents and images in Node.js via Java. This API supports popular formats like…

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English