swepam

0.4.2 • Public • Published

swepam Build Status Code Climate Test Coverage

☀️ 💨 🌍 a json interface to the swepam readings

get a solar weather report with this zero-dependency reader for ace-swepam.txt data.

a web api is hosted here for free use. you can also request all data available instead of the most recent reading, if you wish.

install
npm install --global swepam
notes

this program doesn't create an http server, it simply writes json files to disk which can be served with a web server of your choice.

environment variables
  • SWEPAM_READINGS_ENDPOINT - ace-swepam web uri (defaults to 'http://services.swpc.noaa.gov/text/ace-swepam.txt')
  • SWEPAM_JSON_PATH - location of json files written to disk (must match up with nginx configuration)

Package Sidebar

Install

npm i swepam

Weekly Downloads

1

Version

0.4.2

License

Unlicense

Last publish

Collaborators

  • antino