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

Method fullNatName

api/1.3/api.js:382–403  ·  view source on GitHub ↗
(nat)

Source from the content-addressed store, hash-verified

380 }
381
382 fullNatName(nat) {
383 let mapping = {
384 AU: "Australia",
385 BR: "Brazil",
386 CA: "Canada",
387 CH: "Switzerland",
388 DE: "Germany",
389 DK: "Denmark",
390 ES: "Spain",
391 FI: "Finland",
392 FR: "France",
393 GB: "United Kingdom",
394 IE: "Ireland",
395 IR: "Iran",
396 NL: "Netherlands",
397 NO: "Norway",
398 NZ: "New Zealand",
399 TR: "Turkey",
400 US: "United States",
401 };
402 return mapping[nat];
403 }
404}
405
406function random(mode, length) {

Callers 1

generateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected