This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

multilingual-country-info

1.0.0 • Public • Published

multilingual-country-info

Extract country information from country name or country code (multilingual).

Install

yarn add multilingual-country-info
# - or -
npm install multilingual-country-info

Usage

const multilingualCountryInfo = require('multilingual-country-info')

// Search by country using bruteforce
const info_1 = multilingualCountryInfo.getInfoByCountryName('Spain')

// Search by country and language - faster search
const info_2 = multilingualCountryInfo.getInfoByCountryName('Spain', 'english')

// Search by country code
const info_3 = multilingualCountryInfo.getInfoByCountryCode('NL')

Contributing

PRs are welcome.


License

Copyright © 2022 - 2022, [thewolfx41] Released under the MIT License.

Package Sidebar

Install

npm i multilingual-country-info

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

115 kB

Total Files

7

Last publish

Collaborators

  • thewolfx41