npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@open-aviation-solutions/components

v0.1.1

Published

Interactive aviation training components

Readme

open-aviation-components

Interactive components for aviation training, implemented as standard web components (custom elements). Framework-agnostic — use them in plain HTML, Vue, React, Svelte, Slidev, or anywhere else custom elements are supported.

Live demo: https://open-aviation-solutions.github.io/open-aviation-components/


Components

| Component | Purpose | Key props | |-----------|---------|-----------| | FourForces | 3D visualization of aerodynamic forces with physics model | height, modelPath |


FourForces

An interactive 3D visualization of the four aerodynamic forces — Lift, Weight, Thrust, and Drag — shown as arrows on an aircraft model. Power and Attitude sliders drive a physics model; the arrows scale dynamically to reflect the force balance. Includes airspeed (ASI) and vertical speed (VSI) instrument gauges, airflow particle stream visualization, and weight-component decomposition during climbs.

Peer dependencies

npm install three

Usage

Import the package once (anywhere in your app's entry point) to register the custom elements, then use them as HTML tags:

import '@open-aviation-solutions/components'
<four-forces height="400px" model-path="/aircraft.glb"></four-forces>

You will need to serve the aircraft.glb file as a static asset. A copy is included in the public/ directory of this repository.

Attributes

| Attribute | Default | Description | |-----------|---------|-------------| | height | 400px | CSS height of the component | | model-path | /aircraft.glb | URL to the GLTF aircraft model served as a static asset | | v_ne | — | Never-exceed speed (kts). Sets ASI scale maximum and draws red radial line. | | v_no | — | Normal operating speed (kts). Top of green arc, bottom of yellow arc. | | v_1 | — | Stall speed clean (kts). Bottom of green arc. | | cruise-kts | 100 | Airspeed at nominal cruise (speed=1.0). Calibrates the ASI needle. | | banking | — | Boolean. When present, shows a bank angle slider and lift-component decomposition. |


Contributing

Improvements to the component files must be shared under the same MPL 2.0 license — fork, improve, and open a pull request. Projects that merely use the components are not affected by this requirement.

Support

If these components have saved you time, consider buying me some tokens or sponsoring on GitHub.

License

Mozilla Public License 2.0 — modifications to the component source files must stay open; applications using them do not have to be.