geoplanet

1.2.0 • Public • Published

geoplanet

Source Code npm node Travis (.com) Codecov

Parse Yahoo GeoPlanet data in NodeJS.

Installation

npm i geoplanet

Do I need the data?

The data is downloaded automatically during installation.

Just npm install and go!

API

const geoplanet = require("geoplanet");
 
// Find any place with 'London' in the name in the UK.
await geoplanet({ name: "London", countryCode: "GB" });
 
// Find any place with the **exact** name of "London" in the UK.
await geoplanet({ name: "London", countryCode: "GB" }, true);

Legal

See LICENSE for full details.

Program Code

Copyright © 2019 James Cahill

Public Domain (Unlicense)

Yahoo! GeoPlanet™ Database

Copyright © 2009 Yahoo! Inc. Some rights reserved.

Licensed under CC-3.0-US - All uses allowed when attributed.

Package Sidebar

Install

npm i geoplanet

Weekly Downloads

0

Version

1.2.0

License

Unlicense

Unpacked Size

31.8 kB

Total Files

14

Last publish

Collaborators

  • prouser123