npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

geo-master

v1.0.7

Published

Introducing Geo-Master: Your Ultimate Geolocation Toolkit

Readme

Introducing Geo-Master: Your Ultimate Geolocation Toolkit

Geo-Master is a comprehensive geolocation toolkit that simplifies the process of working with geographical data. Developed with ease of use and efficiency in mind, Geo-Master offers a suite of functions to retrieve location details, find nearby places, and calculate distances between points.

Key Features:

  1. Get Latitude and Longitude: With Geo-Master, you can easily retrieve the latitude and longitude coordinates of any location. Simply provide the name or address of the place, and Geo-Master will handle the rest, utilizing the power of the RapidAPI geocoding service.

  2. Find Nearby Places: Discover nearby points of interest, businesses, and attractions effortlessly with Geo-Master's nearby places feature. Whether you're looking for restaurants, hotels, or landmarks, Geo-Master provides accurate results based on your current location or specified coordinates.

  3. Calculate Distance: Need to know the distance between two points? Geo-Master makes distance calculation a breeze. Whether you're planning a road trip, measuring property boundaries, or optimizing delivery routes, Geo-Master's distance calculation function provides accurate results in kilometers.

How to Use:

  • Import Geo-Master into your project.
  • Utilize the getLatLong function to retrieve latitude and longitude coordinates based on location names or addresses.
  • Use the getNearbyPlaces function to find nearby places based on specified Location and search queries.
  • Employ the calculateDistance function to calculate the distance between two Places with use of coordinates.

With Geo-Master, harnessing the power of geolocation has never been easier. Streamline your workflow, enhance your applications, and unlock new possibilities with Geo-Master today!

async function main() { const location = 'Amravati'; const searchQuery = 'Ravi Nagar';

// Get latitude and longitude of location const { lat, lng } = await getLatLong(location); console.log('lat',lat); console.log('lng',lng);

// Get nearby places based on latitude and longitude const nearbyPlaces = await getNearbyPlaces(location, searchQuery);

// Log the nearby places console.log('Nearby Places:', nearbyPlaces);

const location1 = 'Amravati'; const location2 = 'Nagpur'; // Calculate distance between two points const distance = await calculateDistance(location1, location2); console.log('Distance:', distance, 'km'); }

main();