Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

draisine

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

draisine

A simple command line tool to ask german travel discounter ltur for a list of available cheap train tickets on a given day. Very much WIP and expected to break at some point.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

#draisine#

A simple command line tool to ask german travel discounter ltur for a list of available cheap train tickets on a given day. Very much WIP and expected to break at some point.

cli usage

npm install -g draisine
draisine -f [station] -t [station] -o [date]

Options:
-f, --from  [required]
-t, --to    [required]
-o, --on    [default: "tomorrow"]

api usage

var draisine = require('draisine');
var tomorrow = new Date();
tomorrow.setDate(tomorrow.getDate() + 1);

draisine({
    from: 'Hamburg Hbf',
    to: 'Berlin Hbf',
    on: tomorrow
}, function (error, results) {
    // do something with the results array
});

Please note that the keys in the result array's objects are parsed and thus not guarranted to be the same every time.

FAQs

Package last updated on 02 Jan 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc