A Node.js package for parsing Two-Line Element (TLE).
TLE, also known as two line element set is a data format encoding a list of orbital elements of an Earth-orbiting object for a given point in time, the epoch. Using a suitable prediction formula, the state (position and velocity) at any point in the past or future can be estimated to some accuracy.
Example TLE data:
ISS (ZARYA)
1 25544U 98067A 08264.51782528 -.00002182 00000-0 -11606-4 0 2927
2 25544 51.6416 247.4627 0006703 130.5360 325.0288 15.72125391563537
You can install the TLE Parser package via npm:
npm install tledecoder
const TLEParser = require('tledecoder');
const parser = new TLEParser(`ISS (ZARYA)
1 25544U 98067A 08264.51782528 -.00002182 00000-0 -11606-4 0 2927
2 25544 51.6416 247.4627 0006703 130.5360 325.0288 15.72125391563537`);
const tle = parser.parse(); // toJSON false
This project is licensed under the MIT License - see the LICENSE file for details.