tiny-flag
v1.0.3
Published
Work with emoji flags in a tiny footprint
Readme
Work with emoji flags in a tiny (317b minified) footprint
Install
npm i --save tiny-flagyarn add tiny-flagUsage
import countryCodeToFlag from "tiny-flag";
countryCodeToFlag("US"); //=> '🇺🇸'Works great with if-emoji for progressive fallbacks: Demo.
Author
👤 Ben Aubin
- Website: benaubin.com
- Twitter: @BenAubin_
- Github: @benaubin
Show your support
Give a ⭐️ if this project helped you!
