Compiler.License

A module for working with OSI approved licenses.

type License

An OSI approved license.

bsd3 : License

The BSD 3 Clause license.

toString : License -> String

String representation for a License.

toJson : License -> Value

JSON Encoder for License.

jsonDecoder : Decoder License

JSON Decoder for License.

findMostSimilar : String -> Array String

Find the three most similar licenses to the given String. Useful if you have a mistyped license string and wish to suggest the correct typing.