UNPKG

planet-earth

Version:

Library to find any location in the planet

18 lines (15 loc) 339 B
const LocationFinder = require('./LocationFinder').LocationFinder; /** * Planet Earth Location Finder * @type {PlanetEarth} */ exports.PlanetEarth = class PlanetEarth { /** * Get location by filter * @methodOf PlanetEarth * @param {object} filter */ static find(filter) { return new LocationFinder(filter); } };