MCPcopy
hub / github.com/faker-js/faker / Language

Interface Language

src/modules/location/index.ts:8–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6 * Represents a language with its full name, 2 character ISO 639-1 code, and 3 character ISO 639-2 code.
7 */
8export interface Language {
9 /**
10 * The full name for the language (e.g. `English`).
11 */
12 name: string;
13
14 /**
15 * The 2 character [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) code.
16 */
17 alpha2: string;
18
19 /**
20 * The 3 character [ISO 639-2](https://en.wikipedia.org/wiki/ISO_639-2) code.
21 */
22 alpha3: string;
23}
24
25/**
26 * Module with location functions that don't require localized data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected