MCPcopy Index your code
hub / github.com/RandomAPI/Randomuser.me-Node / fullNatName

Method fullNatName

api/1.4/api.js:386–411  ·  view source on GitHub ↗
(nat)

Source from the content-addressed store, hash-verified

384 }
385
386 fullNatName(nat) {
387 const mapping = {
388 AU: "Australia",
389 BR: "Brazil",
390 CA: "Canada",
391 CH: "Switzerland",
392 DE: "Germany",
393 DK: "Denmark",
394 ES: "Spain",
395 FI: "Finland",
396 FR: "France",
397 GB: "United Kingdom",
398 IE: "Ireland",
399 IN: "India",
400 IR: "Iran",
401 MX: "Mexico",
402 NL: "Netherlands",
403 NO: "Norway",
404 NZ: "New Zealand",
405 RS: "Serbia",
406 TR: "Turkey",
407 UA: "Ukraine",
408 US: "United States",
409 };
410 return mapping[nat];
411 }
412}
413
414function random(mode, length) {

Callers 1

generateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected