
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
weather-gov-graph-parse
Advanced tools
Parse data from weather.gov's weather graph.
npm install weather-gov-graph-parse
Require the module.
var gp = require('weather-gov-graph-parse');
Fetch and parse the weather graph.
gp(pos.latitude, pos.longitude, function(err, data) {
// data is an array of data points
});
Or fetch and parse the weather graph, promises style.
gp(pos.latitude, pos.longitude).then(function(data) {
// data is an array of data points
});
The data
variable that is returned is an array of data points. Each data
point has the following structure. All fields are always present unless
otherwise noted.
{
// The date of the prediction data point.
date: [date]
// The predicted temperature.
temperature: number
// The predicted dew point.
dewPoint: number
// The predicted heat index, if available. This may be 'null' if no heat
// index is available. The weather.gov weather graph assumes that if no
// heat index is available, it is the same as the temperature.
heatIndex: number
// The predicted wind speed.
windSpeed: number
// The predicted wind direction. This will be either 'N', 'NNE', 'NE',
// 'ENE', 'E', 'ESE', 'SE', 'SSE', 'S', 'SSW', 'SW', 'WSW', 'W', 'WNW',
// 'NW', or 'NNW'
windDirection: string
// The maximum predicted wind gusts, if available. This may be 'null' if
// no gusts are predicted.
gust: number
// The predicted sky cover, in percent. This will be between 0 and 100.
skyCover: number
// The predicted precipitation potential. This will be between 0 and 100.
precipitation: number
// The predicted relative humidity. This will be between 0 and 100.
relativeHumidity: number
}
FAQs
Parse weather graph data from weather.gov
We found that weather-gov-graph-parse demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.