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

nova-transfer

v0.0.1

Published

Stencil Component Starter

Downloads

8

Readme

Nova Transfer

Transfer elements between two columns in an intuitive and efficient way.

How do I do? (HTML Markup)

  <nova-transfer 
    show-select-all
    show-search> 
    <p slot="source-footer" style="padding: 8px 0; text-align: center;">Footer 1</p>
    <p slot="target-footer" style="padding: 8px 0; text-align: center;">Footer 2</p>
  </nova-transfer>
   var transfer = document.querySelector('nova-transfer');
   transfer.data = data;
   transfer.configuration = configuration;

Customize styles

    // customized styles for the columns
    transfer.columnStyle = {
      boxShadow: "0px 0px 53px -11px rgba(0,0,0,1)",
      width: "45%"
    } 
    // customized styles for the operation buttons (<,>)
    transfer.operationStyle = {
      width: "10%",
    }
    // customized styles for the wrapper of the component
    transfer.wrapperStyle = {
      width: "46%",
      height: "340px",
      minWidth: "500px",
      margin: "0 auto"
    }

JSON Data Model

{
    "data": {
        "items": [
        {
        "key": "key1",
        "title": "Title1",
        "description": "Description1",
        "disabled": false
        },
        {
        "key": "key2",
        "title": "Title2",
        "description": "Description2",
        "disabled": true
        },
        {
        "key": "key3",
        "title": "Title3",
        "description": "Description3",
        "disabled": false
        }
    ],
    "targetKeys": [
        "key6", "key11"
        ]
    },
    "configuration": {
        "labels": {
          titleSource: "source",
          titleTarget: "target",
          operationLeft: "left",
          operationRight: "right",
          unit: "item",
          units: "items",
          notFoundContent: "the list is empty",
          searchPlaceholder: "search here"
        } 
    },
    "styling": {
    }
}

Properties

| Property | Description | Type | Default | | -------- | ----------- | -------- | ----------- | | items | The elements that are part of this array will be present the left column. Except the elements whose keys are included in targetKeys prop. | any[] | | | targetKeys | A set of keys of elements that are listed on the right column. | string[] | [] | | show-select-all | Show select all checkbox on the header | boolean | false| | show-search | If included, a search box is shown on each column. | boolean | false| | disabled | Whether disabled transfer | boolean | false| | source-footer | Slot that can be added to the component to show a footer in the source column | | | | target-footer | Slot that can be added to the component to show a footer in the target column | | | | columnStyle | A custom CSS style used for rendering the transfer columns. | object | {}| | operationStyle | A custom CSS style used for rendering the operations column. | object | {} | | wrapperStyle | A custom CSS style used for rendering wrapper element. | object | {} | | search | Event function that is emitted when search field is changed | eventListener | | | filter | Event function that is emitted when items are filtered in a column | eventListener | | | transferColumn | Event that is emitted each time the user requests to change items from one column to another | eventListener | | | select | Event that is emitted each time the user selects an item of a column | eventListener | | | filterOption | A function to determine whether an item should show in search result list | (inputValue, option): boolean | | | renderItem | The function to generate the item shown on a column. | Function(item):string | | | handleSelect | Method that allows the customization of the component. | Method(key:string) | |


Built with StencilJS