Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
flights-search-cli
Advanced tools
Search flights from the command line!
npm install flights-search-cli --global
flights search
triggers the command line toolkiwi.com
booking page-s <IATA Airport Code>
or --start-airport <IATA Airport Code>
sets the departure airport
-s SFO
or --start-airport SFO
-e <IATA Airport Code>
or --end-airport <IATA Airport Code>
sets the arriving airport
-e SFO
or --end-airport SFO
-l <Departure Window>
or --leaving-between <Departure Window>
sets the date(s) or datetime(s) for departure
-l 2019-09-01
or --leaving-between 2019-09-01
|
delimiter like (-l "2019-09-01|2019-09-07"
)-l "2019-09-01T11:30|2019-09-07T14:30"
which would look at all departure times between 11:30 AM
on 2019-09-01
to 2:30 PM
on 2019-09-07
YYYY-MM-DD
) and datetimes need to follow the HTML5 datetime format (YYYY-MM-DDTHH:mm
)-r <Departure Window>
or --returning-between <Departure Window>
works exactly the same as the --leaving-between
argument, except for return flights-$ <price>
or --max-price <price>
filters out tickets above a certain price in USD
-$ 500
or --max-price 500
-d
or --direct-flight
filters out flights that are not direct
-1
or --one-way
only calculates flights from the departing airport to the arrival airport
flights-search-cli
uses nvm
to manage node
and npm
versions.
Ensure that you have nvm
installed, and have the correct node
version defined in the .nvmrc
file.
To build the project locally
compile
command defined in the package.json
file
build
directorynpm link
command
bin
executable file (build/executables/flights.js
)flights search
)After making changes to the source code, you will need to rebuild the project and re-link the updated build
files in order to test any changes you've made to the source code.
This project uses husky
to maintain git hooks.
pre-commit
- run source code linting and commit message lintingThis project uses semantic-release
and commitlint
(specifically the Angular commit convention) to automatically enforce semantic versioning.
kiwi.com
?Because they provide a pretty simple REST API to search for flights.
FAQs
Search Flights From Your Terminal
The npm package flights-search-cli receives a total of 13 weekly downloads. As such, flights-search-cli popularity was classified as not popular.
We found that flights-search-cli 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.