New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

darkskyproxy

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

darkskyproxy

Simple proxy to DarkSky API

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 27 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts