
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
E6B library - mostly for flight training and traditional flight plans and preflight planning
E6B library is a lightweight Javscript / Typescript library to perform E6B calculations.
Some of the calculations included:
Installing using npm
npm install e6b-lib
Installing using yarn
yarn add e6b-lib
Calculating wind correction
import { windCorrection } from "e6b-lib";
const wc = windCorrection({
trueAirSpeed: 80,
trueCourse: 300,
windDir: 280,
windVelocity: 10,
magneticVariation: 12,
});
console.log(wc.windCorrectionAngle); // -2
console.log(wc.trueHeading); // 298
console.log(wc.magneticHeading); // 310
console.log(wc.groundSpeed); // 77
Calculating wind components (crosswind / headwind)
import { windComponents } from "e6b-lib";
const wc = windComponents({
runway: 4, // runway 04
windDirection: 50,
windSpeed: 10
});
console.log(wc.crossWind); // 1.74
console.log(wc.headWind); // 9.85
You can convert between different unites in different categories : pressure, temperature, mass, length, time
import { convert, utils } from 'e6b-lib';
console.log(utils.round(convert(1).from('mile').to('km'), 2)); // 1.61
console.log(utils.round(convert(1).from('km').to('m'), 2)); // 1000
console.log(utils.round(convert(0).from('C').to('F'), 2)); // 32
console.log(utils.round(convert(32).from('fahrenheit').to('celsius'), 2)); // 0
console.log(utils.round(convert(32).from('fahrenheit').to('kelvins'), 2)); // 273.15
FAQs
E6B library - mostly for flight training and traditional flight plans and preflight planning
The npm package e6b-lib receives a total of 4 weekly downloads. As such, e6b-lib popularity was classified as not popular.
We found that e6b-lib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.