tle2json
v1.0.0
Published
A script to convert Two Line Element sets to JSON
Downloads
4
Maintainers
Readme
Two Line Element to JSON (TLE2JSON) 🚴🏾♀️
This helps convert the two line element format to JSON.
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
- url : The url to the location of the Two line element set.
- path : The location to where the file should be written to.
Algorithm
https://en.wikipedia.org/wiki/Two-line_element_set