---
name: nordvpn_list_countries
kind: function
lang: bash
domain: infra
version: "1.0.0"
purity: impure
signature: "nordvpn_list_countries() -> json"
description: "Lista paises disponibles en NordVPN como array JSON ordenado alfabeticamente."
tags: [vpn, nordvpn, countries, infra, network, pendiente-usar]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: "error_go_core"
imports: []
params: []
output: "JSON con ok, count, countries (array de strings ordenado alfabéticamente)"
tested: false
tests: []
test_file_path: ""
file_path: "bash/functions/infra/nordvpn_list_countries.sh"
---

## Ejemplo

```bash
source nordvpn_list_countries.sh

nordvpn_list_countries
# {"ok":true,"count":60,"countries":["Albania","Argentina","Australia",...,"United States","Vietnam"]}
```

## Notas

Parsea la salida de `nordvpn countries` eliminando codigos ANSI y normalizando separadores. Los nombres de paises se devuelven con espacios en vez de underscores.
