A Sabre REST API client for Node.js, written in TypeScript (v0.14.0). Currently in early development (pre-1.0) with an unstable API surface. Requires Node.js 22+. Provides a programmatic client with OAuth v2 authentication and a built-in CLI for testing against Sabre's REST APIs (e.g., airline lookup, bargain finder max). Key differentiator: modern ESM/TypeScript native implementation with no dotenv dependency (uses Node's built-in process.loadEnvFile). Release cadence is irregular as the library is actively evolving.
npm install sabre-restNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a Sabre REST client with OAuth v2 authentication using environment variables.
Pin to exact version (e.g., 'sabre-rest@0.14.0') and review CHANGELOG before upgrading.
N/A
Upgrade to Node.js 22+ or use a polyfill for process.loadEnvFile.
For automation, use the programmatic API instead of the CLI.
Set SABRE_COMPANY_CODE environment variable to your company code.
Use 'import' or set 'type': 'module' in package.json.
Upgrade to Node.js 22+.
Ensure .env file or environment variables are set correctly.
No dependency data recorded yet.