Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
node-imhdsk
Advanced tools
Readme
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 0 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.