Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

thrustcurve-db

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thrustcurve-db - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

package.json
{
"name": "thrustcurve-db",
"version": "0.3.1",
"version": "0.3.2",
"type": "module",

@@ -5,0 +5,0 @@ "description": "ThrustCurve.org model rocket motor and thrust curve data as a single JSON file",

# thrustcurve-db
ThrustCurve.org model rocket motor data as a single data structure, (plus misc
ThrustCurve.org model rocket motor data as a static data structure (plus misc.
utility functions).
This module is rebundling of the rocket motor data available on John Coker's
exceptional [thrustcurve.org](https://thrustcurve.org) website ("TC"). Specifically,
it is a JSON file produced by doing the following:
* Fetch data for all motors from the [ThrustCurve API](https://www.thrustcurve.org/info/api.html)
* Fetch all available thrust sample files for each motor. Picks the best
("best") file and normalizes to a consistent format. (Basically just insuring it starts with a `[0, 0]` sample)
* Normalize the `delays` value to numeric values and ranges, or "P"lugged.
This module is a rebundling of the rocket motor data available on John Coker's
[thrustcurve.org](https://thrustcurve.org) website ("TC"). The dataset includes data for all motors in the [ThrustCurve API](https://www.thrustcurve.org/info/api.html) ("search" endpoint). And, where available, thrust samples (`samples`).
Note: Some motors have multiple thrust sample files. A best-effort is made to pick the most accurate one, but `samples` data should be treated as possibly out-of-date and/or uncertified.
**License & Support**

@@ -15,0 +12,0 @@

@@ -40,7 +40,8 @@ /**

// Aerotech letter-delays
case v === 'S': v = '0-6'; break;
case v === 'M': v = '0-10'; break;
case v === 'L': v = '0-14'; break;
case v === 'X': v = '0-18'; break;
// Aerotech letter-delays. The Aerotech delay drilling tool can remove up
// to 8 seconds of delay in 2-second increments
case v === 'S': v = '0,2,4,6'; break;
case v === 'M': v = '2,4,6,8,10'; break;
case v === 'L': v = '6,8,10,12,14'; break;
case v === 'X': v = '10,12,14,16,18'; break;
}

@@ -47,0 +48,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc