language-country-code
v1.0.5
Published
A library to convert language codes to country codes and vice versa.
Maintainers
Readme
import { getCountryCode, getLanguageCode } from "language-country-code"
const countryCode = getCountryCode("en") // "US"
const languageCode = getLanguageCode("US") // "en"