# pin-parser

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

Latest version **1.0.14** (published 2023-03-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install pin-parser
pnpm add pin-parser
yarn add pin-parser
bun add pin-parser
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.14 |
| Published | 2023-03-15 |
| First published | 2023-03-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | dhammond371 |
| Maintainers | dhammond371 |

## Links

- npm: https://www.npmjs.com/package/pin-parser
- Repository: https://github.com/dhammond371/pin-parser
- Homepage: https://github.com/dhammond371/pin-parser#readme
- Issues: https://github.com/dhammond371/pin-parser/issues
- npm.io page: https://npm.io/package/pin-parser

## Dependencies (2)

- [jest](https://npm.io/package/jest.md) ^29.4.3
- [tall](https://npm.io/package/tall.md) ^8.0.0

## Recent versions

- 1.0.14 (latest) — 2023-03-15
- 1.0.13 — 2023-03-15
- 1.0.12 — 2023-03-15
- 1.0.11 — 2023-03-15
- 1.0.10 — 2023-03-15
- 1.0.9 — 2023-03-15
- 1.0.8 — 2023-03-15
- 1.0.7 — 2023-03-15
- 1.0.6 — 2023-03-15
- 1.0.5 — 2023-03-15
- 1.0.4 — 2023-03-15
- 1.0.3 — 2023-03-15
- 1.0.2 — 2023-03-15
- 1.0.1 — 2023-03-15
- 1.0.0 — 2023-03-15

## README

# Pin-Parser

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

## Install

```
$ npm install pin
```

## Usage

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

---
_Source: https://npm.io/package/pin-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
