Generates readme badge from SPDX-License-Identifier comment.
SPDX-License-Identifier
![](https://vladimyr-licensebadge.web.val.run/v/vladimyr/licenseBadge)
https://vladimyr-licensebadge.web.val.run/v/<author>/<val>
Very cool! I didn't notice that the identifier was in the code at first, but that makes sense. It could also go in the README, ie you could specify the license by linking to the badge there directly
Yeah, having it inside readme is way simpler but I made it this way so license info doesn't get lost when people consume it through esm.town directly
https://vladimyr-licensebadge.web.val.run
https://esm.town/v/vladimyr/licenseBadge
<script type="module" src="https://esm.town/v/vladimyr/licenseBadge" />
Very cool! I didn't notice that the identifier was in the code at first, but that makes sense. It could also go in the README, ie you could specify the license by linking to the badge there directly
Yeah, having it inside readme is way simpler but I made it this way so license info doesn't get lost when people consume it through esm.town directly