UNPKG

wikidata-lang

Version:

A database of languages and their Wikidata id, Wikimedia language code, ISO 639-1, ISO 639-2, ISO 639-3, ISO 639-6 codes

6 lines (4 loc) 238 B
import { createRequire } from 'node:module' // Importing JSON will be stable after Node v23.1.0 https://nodejs.org/api/esm.html#json-modules // thus the need for this alternative export const requireJson = createRequire(import.meta.url)