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

@publishvue/vuecomps

v1.0.19

Published

Vue component library.

Downloads

63

Readme

vuecomps

Vue component library.

Webpack build is based on the wonderful project https://github.com/vitogit/vue-chessboard , however simplified and actualized to Webpack 5. Style is incorporated in the js module, rather than having to import a separate css file.

Acknowledgments

https://github.com/matthewmaribojoc/learn-vue-tab

Installation

yarn add @publishvue/vuecomps

Usage

Import in Nuxt.js page

<script>
import { Labeled } from "@publishvue/vuecomps"

export default {
  components: {
    Labeled
  }
}
<script>

Then use in the template

<template>
  <div class="cont">
    <Labeled label="Demo Label">
      Normal
    </Labeled>
    vs.
    <Labeled label="Demo Label" rev="true">
      Reversed
    </Labeled>
  </div>
</template>

<style>
  .cont {
    display: flex;
    align-items: center;    
  }
</style>

components

Labeled

Labeled content. Label can be either on left or right side.

Props

label

  • String, required. Label to be displayed.

rev

  • Boolean, optional, defaults to false. By default the label is rendered on the left side. If rev is true then the label will be rendered on the right side.

Perscheck

Persistent checkbox.

Props

id

  • String, required. Local storage unique ID, to be used to store checkbox state.

default

  • Boolean, optional, defaults to false. Default value to use when there is not a yet a stored value in local storage, false for unchecked and true for checked.

Events

perscheckchanged

Event content

  • id

Local storage unique ID.

  • value

Value of the persistent checkbox, false for unchecked, true for checked.

Examining the value programatically

Assuming the ref of the component is myperscheck

console.log(this.$refs.myperscheck.value)

Setting the value programatically

Not possible. If you want a component tied to your data, then use a conventional checkbox.

Perstext

Persistent text input.

Props

id

  • String, required. Local storage unique ID, to be used to store checkbox state.

default

  • String, optional, defaults to empty string. Default value to use when there is not a yet a stored value in local storage.

Events

perstextchanged

Event content

  • id

Local storage unique ID.

  • value

Value of the persistent text input.

Examining the value programatically

Assuming the ref of the component is myperstext

console.log(this.$refs.myperstext.value)

Setting the value programatically

Not possible. If you want a component tied to your data, then use a conventional text input.

Tabpane

Tabpane. To be used with the Tab component.

Props

mode

  • String, optional, defaults to light. Mode of the Tabpnae, possible values: light, dark.

Events

None.

Tab

Tab. To be used with the Tabpane component.

Props

title

  • String, optional, defaults to Tab. Title of the tab.

Events

None.

Example:

<Tabpane>
  <Tab title="Labeled">
    <Labeled label="My Label">
      My Content
    </Labeled>
  </Tab>
  <Tab title="Perscheck">
    <Perscheck id="myperscheck" />
  </Tab>
  <Tab title="Perstext">
    <Perstext id="myperstext" />
  </Tab>
</Tabpane>

Perscombo

Persistent combo box.

Props

id

  • String, required. Local storage unique ID, to be used to store checkbox state.

width

  • Number, required. Width of tabs in px.

height

  • Number, required. Height of tabs in px.

options

  • Array, required. Each element of the array is an object that has a display and a value field. The former will be shown to the user, that latter will be returned as selected value.
[
  {
    display1: "Display1", 
    value1: "value1",
  },
  {
    display2: "Display2", 
    value2: "value2",
  },
  ...
}

Events

perscombochanged

Event content

  • id

Local storage unique ID.

  • value

Selected value of the persistent combo.