Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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 10 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.