Function

AppStream-1.0AppStreamlicense_to_spdx_idSince 0.9.8

  • Converts a non-SPDX license into an SPDX format string where possible.

    Parameters

    • license: string

      a not-quite SPDX license string, e.g. "GPLv3+"

    Returns string

    the best-effort SPDX license string

    0.9.8