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

warcraft-3-w3ts-frame-components

v0.1.12

Published

A library for reusable and composable frame components for modding the game of Warcraft 3.

Downloads

1,277

Readme

Warcraft w3ts Frame Components

A library for reusable and composable frame components for modding the game of Warcraft 3.

Primarily uses frames of from the category of FRAME.

The components help to reduce the boiler plate code needed when working with frames.

Components

When a component is created, by default, it will be placed in center of the screen so that it is visible. This is just for quickly seeing the component rendered.

All components have a name, owner, inherits and container frame.

  • Container Frame
    • The container frame is typically an EMPTY or BACKDROP frame type and serves as your primary reference frame which is the parent of any children frames within the conmponent.
  • Name
    • A simple string whose name is typically composed of the name + player index (context) + the component name.
    • The name must not be the name of a simple frame type name.
  • Owner
    • Most frames here will have a default owner of ORIGIN_FRAME_GAME_UI if one is not provided.
  • Inherits
    • Defaults to empty string when not set.
  • Priority
    • Defaults to 0. Only used when creating a frame by name.

Grid

The grid component provides a versatile layout tool for organizing a collection of like frames.

Each grid item can contain any frame type or custom frame components.

The grid provides a render function which is used for the initial rendering of the grid.

Button

When on click is set, it will automatically enable and disable the button so that it does not retain focus after being clicked.

When on click and a sound path is set, the sound will be played locally for the player.

Glue Text Button

When on click is set, it will automatically enable and disable the button so that it does not retain focus after being clicked.

When on click and a sound path is set, the sound will be played locally for the player.

Icon

A simle component which displays a texture icon.

Backdrop

A simple wrapper for a backdrop frame.

Empty Frame

A simple wrapper for a backdrop frame.

Text Area

When on mouse enter is set, it will automatically enable and disable the textarea so that it does not retain focus after being clicked.

Text

A basic component for text frames with additional built in functionality for automatic sizing.

Tooltip

Simplifies tooltip creation.

It also provides a way for users to add their own icons and text to the tooltip which is displayed under the tooltip header.

Handles automatic resizing of tooltip background when changing header and body text.

Caveats

All frames that are created are permanent and will never be deleted. This is to prevent desyncs and game crashes.

There is only 1 case where a SIMPLE frame type is used, which is optional when creating a button.

Frame definitions and TOC Files

This library comes with it's own frame definitions files and TOC.

These are optional to use and not required.

The files provide a sleeker look for backdrop borders and backgrounds, glue buttons, text areas and scrollbars.