tle2json

1.0.0 • Public • Published

Two Line Element to JSON (TLE2JSON) 🚴🏾‍♀️

This helps convert the two line element format to JSON.

Original

Transform

Usage

const TLE2JSON = require('TLE2JSON');
 
// This URL helps Track the Starlink and Falcon 9 Satellites
const data = await TLE2JSON.convert({
  url: 'https://celestrak.com/NORAD/elements/starlink.txt'
});
 
// Write output to a particular file
const data = await TLE2JSON.convert({
  url: 'https://celestrak.com/NORAD/elements/starlink.txt',
  path: '/Users/pwewe/data.json'
});

Parameters

  1. url : The url to the location of the Two line element set.
  2. path : The location to where the file should be written to.

Algorithm

https://en.wikipedia.org/wiki/Two-line_element_set

Package Sidebar

Install

npm i tle2json

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

5.02 kB

Total Files

5

Last publish

Collaborators

  • paschal