pkgutil

Query and manipulate Mac OS X Installer packages and receipts. More information: https://keith.github.io/xcode-man-pages/pkgutil.1.html.

pkgutil --pkgs

pkgutil --check-signature path/to/filename.pkg

pkgutil --files com.microsoft.Word

pkgutil --expand-full path/to/filename.pkg path/to/directory