darkskyproxy

1.1.0 • Public • Published

darkskyproxy

This is a small proxy to DarkSky API to hide your API key from browser.

API is the same as DarkSky one, but you omit the key. So URL will look like http://localhost:8050/forecast/37.8267,-122.4233.

How to install

Install it from npm repository:

$ npm install -g darkskyproxy

How to use

Start it locally:

$ darkskyproxy [your_api_key_goes_here]
# OR
$ DARKSKY_API=[your_api_key_goes_here] darkskyproxy

The default port is 8050, but you can choose your own with PORT env variable.

License

darkskyproxy is under ISC license.

Tim Marinin, 2017

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    0
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i darkskyproxy

Weekly Downloads

2

Version

1.1.0

License

ISC

Last publish

Collaborators

  • marinintim