New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

geoplanet

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geoplanet

[![Source Code](https://img.shields.io/badge/Source%20Code-black?logo=github)](https://github.com/Prouser123/geoplanet) [![npm](https://img.shields.io/npm/v/geoplanet) ![node](https://img.shields.io/node/v/geoplanet)](https://www.npmjs.com/package/geoplan

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

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);

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.

Keywords

geoplanet

FAQs

Package last updated on 20 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts