Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

gprmc-parser

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gprmc-parser

Parse and convert GPRMC strings to readable JSON format

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

gprmc-parser

Parse and convert GPRMC strings to readable JSON format

Install

npm install gprmc-parser

Usage

const gprmcParser = require('gprmc-parser');
console.log(gprmcParser('$GPRMC,220516,A,5133.82,N,00042.24,W,173.8,231.8,130694,004.2,W*70'));
/*
{ gps: { date: '1994-06-13', time: '22:05:16', validity: true },
  geo: { latitude: 51.563667, longitude: -0.704, bearing: 231.8 },
  speed: { knots: 173.8, kmh: 321.878, mph: 200.044 } }
*/

Keywords

gprmc

FAQs

Package last updated on 10 Mar 2017

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