npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

sabre-legacy-client

v0.1.10

Published

Sabre Legacy Node.js SDK

Readme

Sabre Node.js SDK

Node.js library for the Sabre API (SOAP).

Install

npm install sabre-legacy-client

Setup

First, you need to get an username, password and pcc which is available in the DEV STUDIO - Applications.

import { SabreLegacy } from 'sabre-legacy-client';

const sabre = new SabreLegacy({
  username: '773400', 
  password: 'PASSWORD_GOES_HERE',
  organization: '7TZA', // pcc
});

Documentation

See http://developer.sabre.com

Usage

The Create Session service is utilized to initiate a SOAP API session.

await sabre.authentication.sessionCreate();

Close session

This service is required to close connections because it properly cleans up the session and releases all resources allocated behind the scenes.

await sabre.authentication.sessionClose();

Validate session

The Refresh Session service is used to refresh a connection by resetting the connection's timestamp, thereby preventing the connection from being closed due to inactivity.

await sabre.authentication.ping();

Create access token

The Create Access Token is utilized to request a access token.

await sabre.authentication.tokenCreate();

Get Queue Count

The Get Queue Count service is used to display the count of messages or Passenger Name Records (PNRs) on an alphabetic, numeric, and branch queues.

const count = await sabre.queue.count({
  pcc: "IPCC1",
});

Access queue

The Access Queue API is used to access a designated queue or to navigate within the particular queue.

const access = await sabre.queue.access({
  number: "200",
  pcc: "IPCC1",
});

Get PNR list from queue (Stateless)

const accessList = await sabre.queue.accessList({
  number: "200",
  pcc: "IPCC1",
  primaryPassenger: true
});

Queue ignore

This service is used for ignore transaction.

const ignore = await sabre.queue.ignore();

Queue remove

This service is used for queue remove.

const remove = await sabre.queue.remove();

Queue exit

This service is used for queue exit.

const exit = await sabre.queue.exit();

Place queue message

The Place Queue Message is used to place a message or Passenger Name Record (PNR) on a designated queue.

const place = await sabre.queue.place({
  number: "400", // place to
  pcc: "IPCC1", 
});

Get Sales Report

The Get Sales Reports service is used to display an audit trail for a particular agency, listing relevant transactions for a particular date or range of dates.

const report = await sabre.dailySales.report({
  pcc: 'IPCC1', 
  date: '2012-12-21', // ISO Date "YYYY-MM-DD"
});

Display Audit Trail

The Display Audit Trail web service provides the ability to retrieve e-Ticket Reports (Sale or Refund) for any ticketing platform supported in Sabre TN markets

const summary = await sabre.dailySales.summary({
  pcc: 'WD40',
  airline: {
    code: 'AA'
  },
  date: '2016-10-20', // ISO Date "YYYY-MM-DD"
  settlementType: 'TKT',
  documentType: 'RFND'
});

Development

Install dependencies

npm install

Build and run packages

npm dev

Authors

License

MIT License