3.0.0 β€’ Published 10 months ago

coordinate-formats v3.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
10 months ago

coordinate-formats

A library for parsing, validating and stringifying geographical coordinates of various formats.

coverage

Features

  • πŸ€” Parses possible coordinates of different formats if the received input is ambigious. By default the following formats are recognized:
    • Decimal Degrees (Lat/Lon)
    • Degrees Minutes
    • Degrees Minutes Seconds
    • Open Location Code
    • OpenStreetMap URL
    • Google Maps URL
  • βš™οΈ Uses sensible defaults i.e. for parsing confusable unicode characters.

  • πŸ—ΊοΈ Made to integrate easily with mapping libraries like Leaflet.js and Mapbox GL JS.

  • πŸ’‘ Written in TypeScript for a fully typed API.

  • πŸ—οΈ Provides utilities and for adding custom coordinate formats.

Installation

npm i coordinate-formats

Documentation

See the official docs

Development

In order to start with the development, clone the repository and run:

Install npm dependencies:

npm install

Run the development environment:

npm start
3.0.0

10 months ago

2.3.0

1 year ago

2.2.0

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.4.0

2 years ago

1.2.4

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.4.4

3 years ago

0.4.3

3 years ago

0.4.3-0

3 years ago

0.4.2-0

3 years ago

0.4.1-0

3 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago