Readme
This is an API that inputs a Github Emoji's name and output's a link to that emoji's Github image URL.
The list of names can be accessed at @karfau/GITHUB_EMOJIS or by calling https://karfau-githubemoji.web.val.run/names.
If the name you pass (as argument or in the request path) is not in the list, it returns
<img src="https://karfau-githubEmoji.web.val.run/+1"></img>

import {githubEmojiUrl} from "https://esm.town/v/karfau/githubEmoji";
githubEmojiUrl('+1')
Returns: https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png?v8
curl https://karfau-githubEmoji.web.val.run/+1
Returns: https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png?v8
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
stevekrouse-githubemoji.web.val.run
Updated: December 15, 2023