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

iata-ssim

v0.1.0

Published

TypeScript parsers for IATA SSIM (Standard Schedules Information Manual) data formats. Currently implements Chapter 7 — Schedule Data Set (.ssim files). Zero dependencies; works in Node and browsers.

Readme

iata-ssim

npm version Code Style

TypeScript parsers for the IATA Standard Schedules Information Manual (SSIM) data formats.

[!IMPORTANT] 📘 Validated against the IATA SSIM, March 2012 edition. Newer editions almost certainly add new DEI codes and may revise byte assignments. If you have access to a more recent edition of the manual — even a screenshot of the relevant chapter — please open an issue.

🤖 This package is largely AI-generated. The architecture, API surface, validators and documentation were authored through AI agents with human review. Review carefully before production use; the test suite passes 76/76 and the parser is validated against 14 real-world .ssim files (~48 500 flight legs across 10 vendors) — but bugs may still exist.

Scope

SSIM is divided into nine chapters and defines several distinct data formats. This library currently implements Chapter 7 — Schedule Data Set (a.k.a. SDS, the .ssim file format). Other chapters — SSM (Chapter 4), ASM (Chapter 5), SCR (Chapter 6) — are coming soon as separate sub-modules (see Roadmap).

Status

| Chapter | Format | Module | Status | |---------|--------|--------|--------| | 7 | Schedule Data Set (SDS, .ssim) | iata-ssim/sds | ✅ implemented (validated against March 2011 and March 2012 editions) | | 4 | SSM — Standard Schedules Message | iata-ssim/ssm (planned) | 🟡 coming soon | | 5 | ASM — Ad Hoc Schedules Message | iata-ssim/asm (planned) | 🟡 coming soon | | 6 | SCR — Slot Clearance Request | iata-ssim/scr (planned) | 🟡 coming soon |

Install

pnpm add iata-ssim

Zero dependencies. ESM-only. Works in Node, browsers, edge runtimes, Workers, Deno.

Usage — Chapter 7 (Schedule Data Set)

import { readFile } from 'node:fs/promises'
import { parseScheduleDataSet } from 'iata-ssim/sds'

const text = await readFile('schedule.ssim', 'utf-8')
const dataSet = parseScheduleDataSet(text)

const block = dataSet.carriers[0]!
console.log(`${block.carrier.airlineDesignator} — ${block.flightLegs.length} legs`)

const leg = block.flightLegs[0]!
console.log(`${leg.airlineDesignator}${leg.flightNumber} ${leg.departure.station}→${leg.arrival.station}`)
console.log('days:', leg.daysOfOperation)
console.log('valid:', leg.periodFrom, '→', leg.periodTo)

Documentation

Full guide, API reference, field reference per spec section, and an in-browser playground: iata-ssim.skhr.vg (or pnpm docs:dev for local).

Roadmap

The other SSIM chapters describe telex-style messages rather than files. They share the same data-element vocabulary (Chapter 2) but use a completely different line-based format. Sister sub-modules are planned:

  • iata-ssim/ssm — Chapter 4 (Standard Schedules Message)
  • iata-ssim/asm — Chapter 5 (Ad Hoc Schedules Message)
  • iata-ssim/scr — Chapter 6 (Slot Clearance Request)

The current iata-ssim/sds module won't change. Shared data-element utilities (parseIataDate, parseIataTime, parseUtcOffsetMinutes, …) already live at the package root and will be reused across formats. See docs/overview/roadmap.md for prioritisation and details.

License

MIT © skhrvg