Skip to content

Releases: elfensky/alpha5

alpha5 v1.0.1

Choose a tag to compare

@elfensky elfensky released this 21 May 20:03
9424cc6

Changed

  • Refined npm keywords for discoverability: added norad-id, celestrak, satcat, catalog-number, and 3le; dropped the generic designator, encoder, and decoder. No source, API, or behavior changes.

alpha5 v1.0.0

Choose a tag to compare

@elfensky elfensky released this 19 May 18:42
53640b6

Changelog

All notable changes to this project will be documented in this file. The format
is based on Keep a Changelog, and this
project adheres to Semantic Versioning.

[1.0.0] - 2026-05-19

Added

  • Initial release.
  • decode(s) — parse an Alpha-5 or plain numeric designator string into its
    canonical integer form. Accepts numeric strings of any length (for JSON-
    coerce compatibility) but rejects values outside the 0–339,999 range.
  • encode(n) — encode an integer (0–339,999) into a 5-character designator
    string, using the Alpha-5 letter prefix for values 100,000 and above.
    Rejects every non-integer numeric kind (BigInt, boolean, string, null,
    undefined, NaN, Infinity, floats).
  • Hand-written TypeScript declarations.
  • Test suite covering every example in the Space-Track Alpha-5 documentation,
    the full A=10..Z=33 letter table, both I/O-skip boundaries in both
    directions, and a round-trip property check sampling the full 0–339,999
    range.