1.0.0 • Published 6 years ago
tle2json
Licence
ISC
Version
1.0.0
Deps
1
Size
5 kB
Vulns
25
Weekly
0
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.