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

@azinasili/wingman

v1.1.2

Published

Wingman, the popup window manager.

Readme

Wingman

Wingman, the popup window manager.

Installation

With NPM:

npm install @azinasili/wingman --save

Or include Wingman directly:

<script src="/path/to/wingman.js"></script>

Usage

Import Wingman and configure your component (required options shown).

// Import Wingman when using a bundler
import Wingman from 'wingman';

// Create a new instance of Wingman
const Popup = new Wingman({
  url: 'https://google.com',
  name: 'Google',
});

// Open instance of Wingman
Popup.open();

Options object

| Property | Type | Default | Description | |:------------------------------ |:-------- |:------------------- |:----------- | | url | String | null | Url for popup window | | name | String | null | Give popup window a name | | height | Number | 535 | Height of popup window | | width | Number | 450 | Width of popup window | | eventBeforeOpen | String | wingman:beforeOpen | Name of event to fire before popup window opens | | eventBeforeClose | String | wingman:beforeClose | Name of event to fire before popup window closes | | eventAfterOpen | String | wingman:afterOpen | Name of event to fire after popup window opens | | eventAfterClose | String | wingman:afterClose | Name of event to fire after popup window closes | | beforeOpen | Function | null | Function to run before popup window opens | | beforeClose | Function | null | Function to run before popup window closes | | afterOpen | Function | null | Function to run after popup window opens | | afterClose | Function | null | Function to run after popup window closes | | windowToolbars.menubar | Boolean | false | The new secondary window renders the menubar | | windowToolbars.toolbar | Boolean | false | The new secondary window renders the Navigation Toolbar | | windowToolbars.location | Boolean | true | The new secondary window renders the Location bar | | windowToolbars.personalbar | Boolean | false | The new secondary window renders the Personal Toolbar | | windowToolbars.status | Boolean | true | The new secondary window has a status bar | | windowFeatures.attention | Boolean | false | The window is able to open even if another application is already in the foreground | | windowFeatures.dependent | Boolean | false | The new window is said to be dependent of its parent window | | windowFeatures.minimizable | Boolean | false | This setting can only apply to dialog windows | | windowFeatures.fullscreen | Boolean | false | Fullscreens the new window | | windowFeatures.noopener | Boolean | false | The newly-opened window will not have access back to the originating window | | windowFeatures.resizable | Boolean | true | The new secondary window will be resizable | | windowFeatures.scrollbars | Boolean | true | The new secondary window will show horizontal and/or vertical scrollbar(s) if the document doesn't fit into the window's viewport | | windowPrivileges.chrome | Boolean | false | The page is loaded as window's only content, without any of the browser's interface elements | | windowPrivileges.dialog | Boolean | false | The dialog feature removes all icons from the window's titlebar | | windowPrivileges.modal | Boolean | false | The new window is said to be modal | | windowPrivileges.titlebar | Boolean | false | Thew new secondary window will have a titlebar | | windowPrivileges.alwaysRaised | Boolean | false | The new window will always be displayed on top of other browser windows, regardless of whether it is active or not | | windowPrivileges.alwaysLowered | Boolean | true | The new created window floats below, under its own parent when the parent window is not minimized | | windowPrivileges.close | Boolean | false | This feature removes the system close command icon and system close menu item |

Methods

| Name | Description | |:------- |:------------------------------- | | open | Creates new instance of Wingman | | destroy | Kills the instance of Wingman |

Todo

  • [ ] Add tests

License

MIT License