This package has been deprecated

Author message:

Use thrustcurve-db instead

thrustcurve
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

Thrustcurve

ThrustCurve.org model rocket motor and thrust curve data as a single JSON file.

This module is a thin-and-naive adaptation of the data available on John Coker's exceptional thrustcurve.org website ("TC"). Specifically, it scrapes the ThrustCurve API, does a small amount of data normalization, and generates the data structure presented here. That's it.

What This Means

  • Read and understand how the TC site licenses motor data
  • This is a snapshot of the TC data. It may be out of date. File an issue here if you think it needs to be updated.
  • Issues with how motor data is translated into JSON should be filed as an issue here.
  • Issues with incorrect motor data should be directed to the TC site.

Installation

You know the drill ...

npm i thrustcurve

Usage

import thrustcurve from 'thrustcurve';

// `thrustcurve` is a Motor[] array. See `thrustcurve.d.ts` for the structure of Motor objects
for (const motor of thrustcurve) {
  console.log(motor); // Spew data for ~1,100 motors to console
}

Package Sidebar

Install

npm i thrustcurve

Weekly Downloads

2

Version

0.1.2

License

ISC

Unpacked Size

1.74 MB

Total Files

4

Last publish

Collaborators

  • broofa
  • johncoker