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

v-nuxt-ui

v0.1.21

Published

Veken UI Component Library - Reusable Nuxt UI components, composables, and utilities for enterprise applications

Readme

V Nuxt UI

A reusable Nuxt module providing enterprise-grade components, composables, and utilities built on top of @nuxt/ui.

Features

  • ProTable — Sophisticated data table with CRUD, pagination, column management, where/order query filters (persisted to localStorage), row selection, context menu actions, Excel export, tree data, row expansion, and column pinning with shadow effects
  • ProForm — Declarative form builder with 18+ field types and Zod validation
  • ProDeleteModal — Generic delete confirmation modal with batch support
  • ProPermissionWrapper — Permission-based UI wrapper with hide/disable modes
  • ProDatePicker — Enhanced date picker with shortcut presets
  • ProDnd — Drag-and-drop list via vue-draggable-plus
  • 30+ composables — useApi, useModel, useBoolean, useForm, useDate, useEChart, useApp, useTheme, and 9 table composables
  • Utility functions — String, array, tree, diff, form, excel, type, emoji, request, download helpers
  • i18n — English and Chinese locale files
  • Plugins — NuxtUI toast enhancements, dayjs integration

Installation

pnpm add @anthropic-test/v-nuxt-ui

Peer dependencies

pnpm add @nuxt/ui @nuxtjs/i18n @vueuse/nuxt nuxt

Optional dependencies

# For charts
pnpm add echarts vue-echarts

# For Excel export
pnpm add exceljs

# For drag-and-drop
pnpm add vue-draggable-plus

# For cron expression display
pnpm add cronstrue

Usage

// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@anthropic-test/v-nuxt-ui']
})

Module Options

export default defineNuxtConfig({
  modules: ['@anthropic-test/v-nuxt-ui'],
  vNuxtUI: {
    prefix: 'Pro' // Component prefix (default: 'V')
  }
})

Components

ProTable

<ProTable
  name="users"
  cn-name="Users"
  :biz-columns="bizColumns"
  :use-api-group="useUserApi"
  :on-edit-row-from-modal="openEditModal"
  :export-excel="{ filename: 'users' }"
/>

ProForm

<ProForm
  :fields="[
    { key: 'name', label: 'Name', type: 'input', required: true },
    { key: 'email', label: 'Email', type: 'input' },
    { key: 'role', label: 'Role', type: 'select', items: roleOptions }
  ]"
  :model="formData"
  @submit="handleSubmit"
/>

ProPermissionWrapper

The permission wrapper uses provide/inject. Your app must provide the permission checker:

// In your app's plugin or root component
const { hasPermissions } = usePermission()
provide('vui:hasPermissions', hasPermissions)
<ProPermissionWrapper permission="users:delete" mode="disable">
  <UButton color="error">Delete</UButton>
</ProPermissionWrapper>

API Composables

Create standard CRUD API composables using the factory pattern:

// composables/api/useUserApi.ts
export const useUserApi = () => useApi<User>('/api/users')

This provides: create, batchCreate, update, batchUpdate, getById, deleteById, batchDelete, count, list, countAndList, prune, copy.

Development

# Install dependencies
make install

# Start playground dev server
make dev

# Build the module
make build

# Run linter
make lint

# Type check
make typecheck

Publishing

# Dry-run
make publish-dry

# Publish
make publish

License

MIT