mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-22 09:25:24 +03:00
11 lines
247 B
TypeScript
11 lines
247 B
TypeScript
import ISO6391 from 'iso-639-1'
|
|
|
|
export const languagesNameList: {
|
|
code: string
|
|
nativeName: string
|
|
name: string
|
|
}[] = ISO6391.getAllCodes().map(code => ({
|
|
code,
|
|
nativeName: ISO6391.getNativeName(code),
|
|
name: ISO6391.getName(code),
|
|
}))
|