JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 358
  • Score
    100M100P100Q140560F
  • License MIT

1976 US Standard Atmosphere implementation

Package Exports

  • standard-atmosphere

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (standard-atmosphere) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

standard-atmosphere

Properties of US standard atmosphere ranging -5000 to 250000 ft altitude

Install

$ npm install standard-atmosphere

Usage

const standardAtmosphere = require('standard-atmosphere');

standardAtmosphere(30000, true) // SI units (metric)
{
  temperature: 226.64962024973363,  // K (Kelvin)
  density: 0.018012827594042123, // kg/m^3
  pressure: 1171.9514784825592, // N/m^2
  viscosity: 0.0000147602655462344, // N sec/m^2
  ssound: 301.80574748785267 // m/sec
}

API

standardAtmosphere(altitude, si?)

altitude

Type: number

si

Type: boolean

SI unit input/output?