@wemnyelezxnpm/odio-aspernatur-rem

1.0.0 • Public • Published

@wemnyelezxnpm/odio-aspernatur-rem

@wemnyelezxnpm/odio-aspernatur-rem is an npm package designed to provide extensive information about countries, encompassing details such as country code, name, currency symbol, capital city, phone code, latitude, and longitude.

Installation

You can easily install @wemnyelezxnpm/odio-aspernatur-rem via npm:

npm install @wemnyelezxnpm/odio-aspernatur-rem --save

Usage

const countryInfo = require('@wemnyelezxnpm/odio-aspernatur-rem');

// Search by country code, name, currencyCode, currencyName, or symbol
countryInfo.search('austria'); // Returns information about Austria
countryInfo.search('at'); // Returns information about Austria
countryInfo.search('euro'); // Returns information about countries using Euro as currency
countryInfo.search('eur'); // Returns information about countries using Euro as currency
countryInfo.search('€'); // Returns information about countries using Euro as currency

// Example outputs:
/*
[
  {
    code: 'AT',
    name: 'AUSTRIA',
    currency: {
      currencyName: 'EURO',
      currencyCode: 'EUR',
      currencySymbol: '€'
    },
    geo: { latitude: 47.516231, longitude: 14.550072 },
    capital: 'VIENNA',
    phone: '43'
  }
]
*/

// You can search for other countries like 'USA', 'SG' (Singapore), 'IN' (India), etc., and get their information in a similar structured output.

Readme

Keywords

Package Sidebar

Install

npm i @wemnyelezxnpm/odio-aspernatur-rem

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

12.9 kB

Total Files

10

Last publish

Collaborators

  • mol86237