UNPKG

@geoapify/un-locode

Version:

A Node.js library for querying United Nations Location Code (UN/LOCODE) data

21 lines (13 loc) 383 B
## Requirements Make sure you run at least Node 18.0.0 ### Running tests Execute: npm run test ### Running the build Execute: npm run build-all ### Generating the json-data 1) Put csv/xls file in data-source folder (on root level) 2) Put "API_KEY" in src/utility/utility.ts class 3) Execute: npm run generate-files ### Running the demo 1) Run the build 2) Execute: start:demo