https://github.com/lsongdev/node-gps
:satellite: A GPS NMEA parser library
https://github.com/lsongdev/node-gps
gps hardware
Last synced: 7 months ago
JSON representation
:satellite: A GPS NMEA parser library
- Host: GitHub
- URL: https://github.com/lsongdev/node-gps
- Owner: lsongdev
- License: other
- Created: 2017-02-06T12:00:37.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-07-04T02:14:33.000Z (over 6 years ago)
- Last Synced: 2025-08-28T22:01:25.336Z (7 months ago)
- Topics: gps, hardware
- Language: JavaScript
- Homepage: https://npmjs.org/node-gps
- Size: 176 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## gps2 
A GPS NMEA parser library
### Installation
```bash
$ npm i node-gps --save
```
### Example
```js
const GPS = require('node-gps');
const gps = new GPS();
gps.on('data', (location) => {
console.log(location);
});
fs
.createReadStream('/dev/gps-module')
.pipe(gps)
```

### Contributing
- Fork this Repo first
- Clone your Repo
- Install dependencies by `$ npm install`
- Checkout a feature branch
- Feel free to add your features
- Make sure your features are fully tested
- Publish your local branch, Open a pull request
- Enjoy hacking <3
### License
This works base on [Robert Eisele](https://www.xarg.org)'s [GPS.js](https://github.com/infusion/GPS.js) and under the [MIT](./LICENSE) license.