ndbc-realtime-tojson
v0.0.5
Published
[![Build Status](https://travis-ci.org/calweb/ndbc-realtime-tojson.png?branch=master)](https://travis-ci.org/calweb/ndbc-realtime-tojson)
Downloads
7
Readme
ndbc-realtime-tojson
Use this module to convert NOAA National Data Bouy Center text product data to json.
Information
Usage
const ndbcToJSON = require('ndbc-realtime-tojson')
// `41004` is the Edisto Bouy Id off of SC coast
// `spec` is the type of data (spectral wave data)
// http://www.ndbc.noaa.gov/rt_data_access.shtml
ndbcToJSON('41004', 'spec').then(bouyData => {
console.log(bouyData)
})
Contributions
This Project follows the StandardJS style guide.
To Contribute:
- Clone Repo
npm install
- Write Code
- Write Test(s)
- Submit Pull Request
License
ndbc-realtime-tojson is available under the MIT license.