Skip to content

olivvein/wmo-emoji

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WMO Code to Emoji Converter

This module provides a function to convert WMO (World Meteorological Organization) codes to corresponding emoji.

Installation

npm install wmo-emoji

Usage

import { wmoCodeToEmoji } from 'wmo-emoji';

console.log(wmoCodeToEmoji(0));  // Output: ☀️
console.log(wmoCodeToEmoji(3));  // Output: ☁️
console.log(wmoCodeToEmoji(61)); // Output: 🌧️
console.log(wmoCodeToEmoji(99)); // Output: ⛈️
console.log(wmoCodeToEmoji(100)); // Output: ❓

License

This module is released under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published