JSPM

yolo-tips

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q39602F
  • License MIT

Cheap Flight Suggester, that suggests you weekend trips based on the cheapest deals it finds using SkyScanner.

Package Exports

  • yolo-tips

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (yolo-tips) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

yolo-tips

Cheap Flight Suggester, that suggests you weekend trips based on the cheapest deals it finds using SkyScanner.

cli

usage

npm install yolo-tips -g

yolo-tips --origin LIS --weeks 2 --max 50

available options

-c, --currency       currency
-w, --weeks          weeks
-o, --origin         origin
-d, --destination    destination
-m, --max            max price

module

const yolo = require('yolo-tips')

const options = {
  origin: 'LIS',
  weeks: 2,
  max: 500,
  destination: 'EVERYWHERE'
}

yolo(options, (err, results) => {
  if (err) {
    return console.error(err)
  }

  console.log(JSON.stringify(data, null, 2))
})