UNPKG
gps-nmea-reader
Version:
latest (1.0.8)
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Read parsed NMEA data from GPS modules
github.com/d4n5h/gps
d4n5h/gps
gps-nmea-reader
/
README.md
14 lines
(12 loc)
•
231 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# gps
## Example:
```javascript
const
GPS = require(
'gps-nmea-reader'
);
const
gps =
new
GPS(
'COM12'
,
9600
); (
async
()=>{ console.log(
await
gps.getDevices()) })() gps.
on
(
'data'
,(data)=>{ console.log(data) }) ```