1.0.2 β€’ Published 10 months ago

country-flag-code v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

country-flag-code

A package that transforms a country code into a flag

Install country-flag-code:

npm i country-flag-code

# or

yarn add country-flag-code

Usage:

import { countryCode } from 'country-flag-code';

function MyComponent() {
  const flag = countryCode('sn');

  return (
    <>
      Country {flag} => 'πŸ‡ΈπŸ‡³'
    </>
  );
}
1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago