Extract metadata from various types of media file using 'pluggable' extractors.
API
const extract = require('metadata-extract')
const metadata = await extract(sourceFilename, options)
options is an optional object which may include:
metadata is an object containing the metadata found.
extractors/music-metadata - Extract music-metdata
extractors/exif-tool - Extract using exiftool - requires exiftool to be installed as an external dependency. Disabled by default.
extractors/image-size - Get the size of images using image-size
extractors/pdf-text - extracts text from PDFs using pdf2json
extractors/text - extracts the beginning of text files
extractors/zip - extracts directory listing from zip files
extractors/epub - extracts text preview or contents listing from epub files