tle-validator
Version:
19 lines (15 loc) • 540 B
Markdown
[](https://circleci.com/gh/BroHammie/tle-validator/tree/master)
TLEs suck, this helps them suck less.
Can run validateTLE() that returns a boolean or run with validateTLEWithMsg() to get indexes that are wrong with what component is effed up.
Example `validateTLEWithMsg()` result:
```
{
isValid: false,
lineOneErrors: [
{
invalidSubStr: [53,8],
message: "Invalid B Star Drag"
}
]
}