cou

@jagomf/countrieslist

Sovereign country names in several languages

Showing:

Popularity

Downloads/wk

69

GitHub Stars

0

Maintenance

Last Commit

1yr ago

Contributors

1

Package

Dependencies

0

License

MIT

Type Definitions

Built-In

Tree-Shakeable

No?

Categories

Readme

countrieslist

npm version

Get all sovereign countries' names in several languages associated to their ISO 3166-1 (alpha-2) code.

Install

Via npm:

npm install @jagomf/countrieslist

Supported languages

  • English (en)
  • Spanish (es)
  • German (de)
  • French (fr)
  • Portuguese (pt)
  • Italian (it)

Usage

Import some or all of the language pieces:

import { en, es as langES, fr as countriesFR } from '@jagomf/countrieslist';

console.log(en.SM); // 'San Marino'
console.log(langES.NL); // 'Países Bajos'
console.log(countriesFR['GR']); // 'Grèce'
import * as COUNTRIES from '@jagomf/countrieslist';

console.log(COUNTRIES.en.TT); // 'Trinidad and Tobago'
console.log(COUNTRIES.es.CI); // 'Costa de Marfil'

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial