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

html360

v2.5.1

Published

CLI tool to create standalone 360° panoramas in a single HTML file.

Readme

A simple CLI tool to pack 360° equirectangular panoramas into a single, standalone HTML file. Perfect for sharing with friends via messengers or viewing offline.

💡 The Core Idea

The philosophy of html360 is to make a 360° panorama feel like a simple, universal file (like a image or video).

You can open it on any device without:

  • Installing special software (any modern web browser is all you need).
  • Relying on external services (Google Photos, Yandex Panoramas, etc.).
  • An internet connection.

🖼️ Live Demo

Experience the result of an 8K panorama processed by html360: View Demo

🚀 Quick Start

Install it globally:

npm install -g html360

Or run it without installation using npx:

npx html360 panorama_1.jpg panorama_2.jpg

✨ Windows Integration

One of the coolest features of html360 is the ability to pack panoramas directly from your File Explorer. No terminal skills required for your friends!

Windows Context Menu Preview Right-click -> Send to -> html360

Setup Context Menu

After installing the package globally, run this command once to add html360 to your "Send To" menu:

html360 install-menu

Remove Context Menu

html360 uninstall-menu

How it works

  1. Open any folder with your 360° photos.
  2. Select one or multiple JPEG/PNG files.
  3. Right-click -> Send to -> html360.
  4. Done! A standalone .html file will appear next to each image instantly.

✨ 8K Optimization

Be default html360 uses Sharp to compress high-resolution panoramas while preserving 8K quality (8192×4096).

  • Before: ~50 MB (Raw JPEG)
  • After: ~8 MB (Optimized WebP inside HTML)

This results in a ~80% reduction in file size, making your interactive 360° scenes incredibly fast to load and easy to share.

✨ Raw Original Mode

For archival purposes or high-end desktop viewing, use the Raw Original mode (-r or --raw). This skips all compression and embeds your source file bit-for-bit into the HTML.

💡 Tip

Use 8K mode for sharing on mobile and web, and Raw Original for your personal high-quality collection where every pixel matters.

8K mode is so precise that visual differences are virtually indistinguishable on 12K (12000×6000) panoramas, even with moderate zooming. Significant visual improvements with Raw Original only become noticeable on ultra-high-resolution sources, such as 21K (21456×10728) or higher, particularly when preserving fine textures and original color depth.

✨ Viewport Persistence

You can now define exactly what your audience sees first.

Viewport Persistence Rotate -> Right-click -> Save

How it works

  1. Open your generated .html panorama in any browser.
  2. Pan and tilt to find the perfect starting angle.
  3. Right-click (Desktop) or Long Press (Mobile) to open the new context menu.
  4. Select Save. Done! A new standalone .html file is downloaded, with your chosen coordinates baked into the code as the new default starting point.

✨ Create Interactive 3D Tours Right in Your Browser

3D-Tour-Editor-Demo

Transform a collection of panoramas into a connected 3D experience without leaving your browser:

  • Visual Editor: Add transition points and info-spots with a few clicks.
  • Smart Autocomplete: Linked panoramas are automatically indexed, making it easy to connect scenes via relative URLs.
  • Rich Info-Spots: Embed text descriptions and external web links directly into your 360° space.

🛠 How to build your tour:

  1. Batch Process: Run html360 *.jpg to generate HTML files for all your rooms.
  2. Enter Edit Mode: Open any panorama and toggle the Editor (Right-click).
  3. Aim & Add Panorama: Use the new precision crosshair to point at a door, select "Add Panorama", and pick the next room from the smart autocomplete list.
  4. Add Context: Drop info-spots with text to make the tour informative.
  5. Baked-in Result: Click Save. A new standalone HTML file is generated with all your hotspots and transitions baked inside.

💻 Requirements

To use html360, you need to have the following installed:

  • Node.js: v20.10.0 or higher (LTS recommended)
  • Windows (optional): Only required for the install-menu feature

🤝 Built With

Big thanks to these amazing projects that power html360:

  • Pannellum — the core 360° viewer engine.
  • Sharp — for high-speed image optimization.
  • Google Gemini — for co-authoring the entire project.
  • The Open Source Community — and all the amazing dependencies that make this tool possible.