Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
node-imhdsk
Advanced tools
This is a nodejs port of python-imhdsk-api
$ npm i node-imhdsk
const imhdsk = require('node-imhdsk');
var options = {'from': 'mlyny',
'to': 'patronka',
'time': '23:00',
'date': '25.9.2019'}
imhdsk.get_routes(options).then(function(res) {
console.log(res)
});
parameter | type | description |
---|---|---|
city | string | City in Slovakia supported by imhd.sk. Defaults to ba |
from | string | Starting point (required). |
to | string | Destination (required). |
time | string | Departure time. Defaults to current time. |
date | string | Departure date. Defaults to current date. |
The function get_livetable
takes the stop ID as a parameter. These IDs can
be found at imhd.sk. Open the page with the stop information,
then open the livetable in new window. The parameter st
in the url should be
the stop's ID.
const imhdsk = require('node-imhdsk');
imhdsk.get_livetable(93).then(function(res) {
console.log(res);
});
Beware that by using this you might be violating imhd.sk ToS
FAQs
An unofficial API for grabbing data from imhd.sk
The npm package node-imhdsk receives a total of 7 weekly downloads. As such, node-imhdsk popularity was classified as not popular.
We found that node-imhdsk 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.