language-country-code
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published
import { getCountryCode, getLanguageCode } from "language-country-code"

const countryCode = getCountryCode("en") // "US"
const languageCode = getLanguageCode("US") // "en"

Package Sidebar

Install

npm i language-country-code

Weekly Downloads

3

Version

1.0.5

License

MIT

Unpacked Size

1.71 kB

Total Files

3

Last publish

Collaborators

  • bugra-isik