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

wappler-hana-viewer

v1.0.1

Published

Spline Hana Viewer for Wappler App Connect - Embed interactive 2D scenes with animations and event handling

Readme

Spline Hana Viewer for Wappler

Embed interactive 2D scenes from Spline Hana into your Wappler projects.

Features

  • Interactive 2D Scenes - Display beautiful, interactive Hana designs
  • 🎨 Lightweight - Optimized 2D viewer, smaller than full 3D Spline
  • 📱 Responsive - Automatically adapts to container size
  • 🔄 Dynamic Content - Data binding support for scene URLs
  • Fast Loading - Efficient loading from Spline CDN
  • 🎯 Event System - React to scene interactions

Installation

Via NPM

npm install wappler-hana-viewer

Via Wappler UI

  1. Open Wappler
  2. Go to Project Settings → Extensions
  3. Add Extension → Enter: wappler-hana-viewer

Usage

Basic Example

<dmx-hana-viewer 
    id="hana1" 
    url="https://prod.spline.design/oLbhqF6SWXxSaOu5-U4w/scene.hanacode"
    width="100%"
    height="600px">
</dmx-hana-viewer>

With Data Binding

<dmx-hana-viewer 
    id="hana1" 
    dmx-bind:url="serverconnect1.data.sceneUrl"
    width="100%"
    height="500px">
</dmx-hana-viewer>

With Events

<dmx-hana-viewer 
    id="hana1" 
    url="https://prod.spline.design/your-scene/scene.hanacode"
    dmx-on:loaded="console.log('Scene loaded!')"
    dmx-on:click="console.log('Scene clicked!')">
</dmx-hana-viewer>

Properties

| Property | Type | Default | Description | |----------|------|---------|-------------| | id | String | required | Unique identifier | | url | String | required | Hana scene URL (.hanacode) | | width | String | '100%' | Width (px or %) | | height | String | '600px' | Height (px or %) | | show-loading | Boolean | true | Show loading indicator |

Data Output

Access component state via data bindings:

<div>Loading: {{hana1.isLoading}}</div>
<div>Loaded: {{hana1.isLoaded}}</div>
<div>Error: {{hana1.error}}</div>

Events

  • loaded - Scene finished loading
  • error - Scene failed to load
  • click - Scene was clicked

Methods

Call methods via Dynamic Events:

  • hana1.reload() - Reload the scene

Getting Your Hana Scene URL

  1. Create or open your design in Spline Hana (app.spline.design)
  2. Click "Export""Code Export"
  3. Choose "HTML" or "JavaScript"
  4. Copy the URL ending in .hanacode

Example URL format:

https://prod.spline.design/[scene-id]/scene.hanacode

About Spline Hana

Hana is Spline's 2D canvas for creating interactive experiences with states, events, and animations. It's perfect for:

  • UI components
  • Interactive buttons and cards
  • Animated illustrations
  • Micro-interactions
  • 2D games and experiences

Learn more: https://docs.spline.design/hana

Browser Support

  • Chrome/Edge (latest)
  • Firefox (latest)
  • Safari (latest)

License

MIT

Support

For issues or questions:

  • GitHub Issues
  • Wappler Community Forum