Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

use-country-info

Package Overview
Dependencies
Maintainers
0
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-country-info - npm Package Compare versions

Comparing version 1.0.25 to 1.0.26

4

package.json
{
"name": "use-country-info",
"description": "use-country-info",
"version": "1.0.25",
"version": "1.0.26",
"license": "MIT",

@@ -14,2 +14,3 @@ "author": "Erik Ferreira de Lima <erik.lima.f@outlook.com>",

"hook",
"hook information",
"country",

@@ -79,3 +80,2 @@ "information",

"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"eslint": "^8.55.0",

@@ -82,0 +82,0 @@ "jest": "^29.7.0",

@@ -211,23 +211,2 @@ # use-country-info

## Additional functions to search for different information from each country:
```js
getCountryByBorder(searchedBorder), // string,
getCountryByName(name), // string,
getCountryByFlag(name), // string,
getCountryByRegion(region), // string,
getCountryBySubregion(subregion), // string,
getCountryByLanguage(language), // string,
getCountryByCurrency(currency), // string,
getCountryByCallingCode(callingCode), // string,
getCountryByTimezone(timezone), // string,
getCountryByCapital(capital), // string,
getCountryByPopulation(population), // number,
getCountryByArea(area), // number,
getCountryByDemonym(demonym), // string,
getCountryByLatitudAndLongitud(latitude, longitude), // number,
getCountryByGini(gini), // number,
getCountryByFifa(fifaName), //string,
```
## Contribution

@@ -234,0 +213,0 @@ This is an open-source project, and we welcome contributions from the community. If you encounter issues, bugs, or have ideas for improvements, feel free to open an issue or submit a pull request in the official repository on GitHub.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc