UNPKG

all-airports

Version:

Serves as an independent data scraping module, complete with ontology and full scraping ability for the airports of the world

10 lines (9 loc) 323 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var getUuid = require("uuid-by-string"); var constants_1 = require("../constants/constants"); function countryToId(country) { return constants_1.consts.ONTOLOGY.INST_COUNTRY + getUuid(country); } exports.countryToId = countryToId; ;