
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@2bad/ryanair
Advanced tools
Unofficial typescript client for the Ryanair API that allows you to easily retrieve information about airports, flights and prices.
Unofficial TypeScript client for Ryanair's API that provides easy access to flights, fares, and airport information.
npm install @2bad/ryanair
Warning: This package is native ESM and no longer provides a CommonJS export. If your project uses CommonJS, you will have to convert to ESM or use the dynamic import()
function. Please don't open issues for questions regarding CommonJS / ESM.
import { airports, fares, flights } from '@2bad/ryanair'
// Find your nearest airport
const closest = await airports.getClosest()
// Check available flight dates
const dates = await flights.getDates('BER', 'DUB')
// Get cheapest fares for your trip
const deals = await fares.getCheapestPerDay('BER', 'DUB', '2024-02-01')
IATA codes are three-letter identifiers used in aviation for airports worldwide. For example:
DUB
- Dublin AirportBER
- Berlin Brandenburg AirportSTN
- London Stansted AirportFind the complete list on IATA's official website.
This is an unofficial package and is not affiliated with Ryanair. Usage is subject to Ryanair's API terms and conditions.
Contributions are welcome! Here's how you can help:
Please ensure your code passes all tests and follows our coding standards.
MIT © 2BAD
Need help? Open an issue or check our Postman collection.
[7.1.2] - 2024-12-22
FAQs
Unofficial typescript client for the Ryanair API that allows you to easily retrieve information about airports, flights and prices.
The npm package @2bad/ryanair receives a total of 31 weekly downloads. As such, @2bad/ryanair popularity was classified as not popular.
We found that @2bad/ryanair demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.