function renderLicenseBadge(license) {
  var badge = []
  if (license.includes ("MIT")) {
    badge.push `[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)`
  }
  if (license.includes ("GPL-3.0-or-later")) {
    badge.push `[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)`
  }
  if (license.includes ("Apache-2.0")) {
    badge.push `[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)`
  }
  return badge.join();
}
// 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 renderLicenseBadge(license) {
  var badge = []
  if (license.includes ("MIT")) {
    badge.push `[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)`
  }
  if (license.includes ("GPL-3.0-or-later")) {
    badge.push `[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)`
  }
  if (license.includes ("Apache-2.0")) {
    badge.push `[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)`
  }
  return badge.join();
}
function renderLicenseBadge ( license ) { var badge = [ ] if ( license . includes ( "MIT" ) ) { badge . push ` ` } if ( license . includes ( "GPL-3.0-or-later" ) ) { badge . push ` ` } if ( license . includes ( "Apache-2.0" ) ) { badge . push ` ` } return badge . join ( ) ; }
If there is no license, return an empty string
If there is no license return an empty string