
Security News
Open VSX Unblocks Extension IDs Used in Malware Campaign
Open VSX has removed three extension IDs from its malicious-extension list as the legitimate publishers they impersonated move to claim the names for themselves.
@squawk/units
Advanced tools
Aviation-aware unit conversion and formatting utilities. Conversions and formatters for speed, distance, altitude, pressure, temperature, and angle—plus ISA standard atmosphere calculations and compressible-flow aerodynamics.
npm install @squawk/units
All exports are organized by domain namespace to keep call sites self-documenting:
import {
speed,
distance,
altitude,
pressure,
temperature,
angle,
isa,
format,
} from '@squawk/units';
// Speed conversions
const kmh = speed.knotsToKilometersPerHour(250);
// Distance conversions
const meters = distance.nauticalMilesToMeters(5);
// Altitude conversions
const feet = altitude.metersToFeet(3000);
// Pressure conversions and QNH/QFE
const hpa = pressure.inchesOfMercuryToHectopascals(29.92);
const qfe = pressure.qnhToQfe(1013.25, 5280); // Denver elevation
// Temperature conversions
const celsius = temperature.fahrenheitToCelsius(59);
// Angle conversions
const radians = angle.degreesToRadians(45);
// ISA standard atmosphere
const isaTemp = isa.isaTemperatureCelsius(35000);
const tas = isa.trueAirspeedFromCalibratedKt(250, 35000); // CAS to TAS at altitude
const da = isa.densityAltitudeFt(5000, 30); // Pressure altitude + OAT
// Formatting with locale support
const altLabel = format.formatAltitude(3500); // "3,500 ft"
const flLabel = format.formatAltitude(35000); // "FL350"
const speedLabel = format.formatSpeed(0.82, 'mach'); // "M0.82"
const tempLabel = format.formatTemperature(15, 'C', {
showISADeviation: true,
altitudeFt: 0,
}); // "15°C (+0 ISA)"
FAQs
Aviation-aware unit conversion and formatting utilities
The npm package @squawk/units receives a total of 24 weekly downloads. As such, @squawk/units popularity was classified as not popular.
We found that @squawk/units demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Open VSX has removed three extension IDs from its malicious-extension list as the legitimate publishers they impersonated move to claim the names for themselves.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.