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

vuelistpackage

v1.0.0

Published

Vue package for lists.

Downloads

52

Readme

Vue List Package

Logo

Installation

git clone https://github.com/iLegion/Vue-List-Package.git 
cd Vue-List-Package
npm run build

This will create some builds in the dist directory.

  • UMD : vuelistpackage.umd.js and vuelistpackage.umd.min.js
  • CommonJS: vuelistpackage.common.js

You can add vuelistpackage as an npm dependency:

npm i vuelistpackage

For use import a component globally or as an subcomponent.

import VueListPackage from 'vuelistpackage';

Properties

listType: 'ul' (default) | 'ol' | 'div' | null;

listType contains type for list in HTML. See ul and ol.

If listType does not match any of the types above, then the default value will be set.

header: String | null (default);

header contains header for list.

items: Array | Object | null;

If items is empty return emptyListMsg message.

If items elements is Object, it must have prop title(priority) or name for view and can contains prop active and disabled with value 0 or 1.

If listType is 'div', items property of links must contains href(priority) or link for the link.

For badges, add property badge for items elements if have this.

styles: Object | null;

| Prop | Type | Description | | ---- | ---- | ----------- | | class | default, materialize, bootstrap (default), null | Ready-made styles for the list. | | listType | String, null | See this | | colorActive | For bootstrap: primary (default), secondary, success, danger, null | Color for active element | | | For materialize: primary (default), red, purple, null | Color for active element |

active: String | null;

The number or property name of the active element.

disabled: String | null

The number or property name of the disabled element.

config: Object | null

| Prop | Type | Description | | ---- | ---- | ----------- | | mode | String | Mode fo list. 'horizontal' for horizontal list and 'vertical' for vertical list. | | emptyListMsg | Object | Config for message if list is empty. | | emptyListMsg.class | String, null | ID for div element. | | emptyListMsg.class | String, Array, null | Classname for div element. | | emptyListMsg.isComponent | Boolean, null | Is the message component. | | emptyListMsg.componentName | String, null | Contains a correct globally registered component name. | | emptyListMsg.text | String, null | Contains a message. If config.emptyListMsg.isComponent and config.emptyListMsg.componentName are true, the message will be inserted into the slot. |

animations: Object | null

| Prop | Type | Description | | ---- | ---- | ----------- | | start | String | Class for start animation. You can use custom css libraries | | end | String | Class for end animation. You can user custom css libraries. |

All properties is reactive.

Methods

Default callback life cycle: beforeCreate, created, beforeMount, mounted, beforeUpdate, updated, beforeDestroy, destroyed. See this.

listUpdated:

Called after list is updated.

clickOnItem:

Called after click event.

Contributing

If you would like to start issues, one easy way to get started is send this on GitHub.