Licensir.NamingVariants (Licensir v0.7.0) View Source

Consolidate different naming variants of the same license to a single name.

Link to this section Summary

Functions

Turns all variants of the names into a single one.

Link to this section Functions

Specs

normalize(String.t() | [String.t()] | nil) :: String.t() | [String.t()] | nil

Turns all variants of the names into a single one.

Duplicates are removed if found in the list of variants.