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

@found-in-space/star-octree-provider

v0.2.0

Published

Alpha star octree provider package for Found in Space datasets

Downloads

140

Readme

@found-in-space/star-octree-provider

Status: current alpha package.

Alpha package for the clean Star Octree Provider rewrite.

This package is intentionally self-contained. Octree loading, traversal, planning, payload decode, and star cell emission live here; viewers, renderers, sidecars, controls, and lessons live in separate packages.

Do not add viewer, renderer, UI, sidecar, kinematics, or ephemeris behavior to this package. Those belong in separate @found-in-space/* packages that compose with emitted star cells.

The provider consumes the shared strategy contract and owns the octree-specific planner. Strategies decide which semantic cells matter, their priority, and how demand changes between view states; the provider planner/scheduler owns materialization, payload batching, cache warming, decode, and cell emission. Bundled strategy helpers are ordinary implementations of the same public strategy interface as application strategies.

See ../../docs/star-octree-provider.md for the package contract, strategy/planner/scheduler semantics, and API semantics.

Examples

The package exports OCTREE_c56103 for the current public Gaia-derived octree and OCTREE_DEFAULT as the teaching-friendly alias used by examples.

  • examples/minimal-stream/ is a small browser scratchpad that creates a provider, lets learners edit observer coordinates and magnitude inside streamCells(), streams until the current cell set is complete, and inspects the cell shape.
  • examples/nearest-visible/ shows a browser page that creates an observer-shell provider session, streams cell deltas, and keeps a nearest-visible table as application-owned logic.
  • examples/canvas-star-map/ shows the alpha package ladder from provider session to star-trees cell store to @found-in-space/star-map-canvas.
  • examples/volume-query/ shows sphere-volume streaming through the same provider strategy surface as observer-shell and target-frustum.
  • examples/strategy-diagnostics/ uses inspectDemand() and streamPayloads() to compare strategy demand with actual payload fetching.
  • examples/shared-session/ shows one provider backing two independent consumers while sharing source/cache state.