Use custom formats for JSON and CSV output
masterYou can define a custom output structure using the --customPath flag and a JSON configuration file.
- For CSV: Specifies the columns to include. The
module_namecolumn is always included as the first column. - For JSON: Adds the specified items to the standard output.
Available items for custom formats:
name,version,description,repository,publisher,email,url,licenses,licenseFile,licenseText,licenseModified.
You can also provide default values for these items in your custom format JSON file.
license-checker --customPath customFormatExample.json