country-flag-provider
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Serving Country Flags

Usage

    const provider = new CountryFlagProvider()
    const countryCodeGermany = 'de'
    const theFlagAsSVGFile = provider.getCountryFlag(countryCodeGermany)
    response.send(theFlagAsSVGFile) // tested successfully with express

Readme

Keywords

none

Package Sidebar

Install

npm i country-flag-provider

Weekly Downloads

2

Version

0.1.1

License

GPL-3.0-or-later

Unpacked Size

2.36 MB

Total Files

263

Last publish

Collaborators

  • danceplanner