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

country-iso

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

country-iso - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "country-iso",
"version": "1.0.1",
"version": "1.0.2",
"description": "Get ISO 3166-1 alpha-3 country code for geographic coordinates.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -19,9 +19,9 @@ # country-iso

```javascript
const countryCode = require('country-iso');
const countryIso = require('country-iso');
// Load a GeoJSON with country boundaries
countryCode.use(require('world-countries-boundaries-1m')());
countryIso.use(require('world-countries-boundaries-1m')());
// query a point
countryCode.get(42.50779, 1.52109);
countryIso.get(42.50779, 1.52109);
// => 'AD'

@@ -28,0 +28,0 @@ ```

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