SkillAgentSearch skills...

Worldcities

A convenient wrapper for the GeoNames database of world cities data.

Install / Use

/learn @OpenDataFormats/Worldcities
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

World Cities

More details can be found in the README in dist/README.md

Updating Source Data

./bin/pull.data.sh
./bin/convert.all.sh

Testing

npm test

Publishing

./bin/pull.data.sh
./bin/convert.all.sh
npm test
cd ./dist
npm publish

Folder Structure

| Folder | Description | | --- | --- | | ./bin | Shell scripts to pull and convert the datasets to update for republishing. | | ./converters | Scripts to convert source TSV files into JSON. | | ./data | Source TSV data files. | | ./dist | "Compiled" output for creating the npm package. | | ./dist/data | The converted and formatted JSON. | | ./dist/data/flags | SVG files of the flags of each country. | | ./dist/data/geojson | The GeoJSON of the shape of each country. | | ./src | The TypeScript source and tests. |

View on GitHub
GitHub Stars10
CategoryData
Updated4mo ago
Forks5

Languages

TypeScript

Security Score

87/100

Audited on Nov 2, 2025

No findings