utils/generateMarkdown.js
// If there is no license, return an empty string
If there is no license, return an empty string
If there is no license return an empty string
function renderLicenseLink(data) {
  if (data === "MIT" ) {
    return "https://opensource.org/licenses/MIT"
  } else if (data === "Mozilla" ) {
    return "https://www.mozilla.org/en-US/MPL/2.0/"
  } else if (data === "IBM") {
    return "https://opensource.org/licenses/IPL-1.0"
  } else {
    return ""
  }
}
function renderLicenseLink ( data ) { if ( data === "MIT" ) { return "https://opensource.org/licenses/MIT" } else if ( data === "Mozilla" ) { return "https://www.mozilla.org/en-US/MPL/2.0/" } else if ( data === "IBM" ) { return "https://opensource.org/licenses/IPL-1.0" } else { return "" } }
If there is no license, return an empty string
If there is no license return an empty string