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

pin-parser

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pin-parser

A simple tool to return the latitude and longitude from a copied Google or Apple maps pin

latest
Source
npmnpm
Version
1.0.14
Version published
Maintainers
1
Created
Source

Pin-Parser

A simple tool to return the latitude and longitude from a copied Google or Apple maps pin

Install

$ npm install pin

Usage

var pinParser = require('pin-parser');

/** 
 * Pin can be of any of the following forms:
 * 12.3456,78.91011
 * (12.3456,78.91011)
 * https://maps.app.goo.gl/c3rjbowSs23hQnhR8?g_st=ic
 * https://maps.apple.com/?ll=54.745391,-110.146062&q=Dropped%20Pin&t=m
 */
const pin = 'https://maps.app.goo.gl/c3rjbowSs23hQnhR8?g_st=ic'

const parsedPin = await pinParser.ParsePin(pin);

FAQs

Package last updated on 15 Mar 2023

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