0.5.2 • Published 1 year ago
@timing71/common v0.5.2
Timing71 Common
Timing71 is a motorsports live timing aggregation and analysis system. This package contains common functions used by the Timing71 website, command-line application and backend services.
messages/contains generators for the messages that appear in the bottom third of the timing screen.analysis/defines themobx-state-treeobject that provides real-time analysis and statistics.racing.jscontains the enum-like classesStatandFlagStateused extensively throughout the other codebases.replay.jscontains functions to read replay files, as well as thecreateIFramemethod used to help generate them.services.jsdefines the main base class for all interfaces with upstream timing providers,Service, as well as a boilerplateHTTPPollingServiceclass for simple cases. It also contains the main service provider registry; additional service provider classes should define a static propertyregexto define which source URLs should use that provider, then register themselves using theregisterServiceProvider(clazz)method.statExtractor.jsdefines theStatExtractorclass, a helper to extract a givenStatfor a car from a Common Timing Format frame.
Other files contain miscellaneous other pieces of shared code, such as time and date handling and formatting.
Test suite
A test suite using jest is provided and can be run using yarn run test.
0.4.4
1 year ago
0.5.0
1 year ago
0.5.2
1 year ago
0.5.1
1 year ago
0.4.3
2 years ago
0.4.1
2 years ago
0.4.2
2 years ago
0.4.0
2 years ago
0.3.0
3 years ago
0.3.1
2 years ago
0.2.3
3 years ago
0.2.2
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.1.0
3 years ago
0.0.3
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago