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

vue-column-explorer

v1.3.4

Published

A powerful multi-column file explorer component for Vue 3 with sorting, badges, and intelligent context menus

Readme

Vue Column Explorer

A powerful, flexible, and easy-to-use multi-column explorer component for Vue 3.

Vue Column Explorer Screenshot

✨ Features

  • 🎯 Easy to Use: Create columns in seconds with createColumn helper
  • 🔄 Multi-Column Navigation: macOS Finder-style navigation
  • 🎨 Lucide Icons: 1000+ built-in icons support
  • Multiple Selection: Single or multiple item selection
  • 🔍 Filtering: Search, number, and select filters
  • 📱 Responsive: Mobile-friendly design
  • 🎭 Actions: Actions for selected items (Send Mail, Download, etc.)
  • 🍞 Breadcrumb: Breadcrumb navigation for going back
  • TypeScript: Full type support
  • 📦 Zero Dependencies: Only Vue 3 and Pinia

🚀 Quick Start

Installation

npm install vue-column-explorer

Basic Usage

1. Create a column:

// columns/users.js
import { createColumn } from 'vue-column-explorer'

export const usersColumn = createColumn({
  id: 'users',
  name: 'Users',

  fetchData: () => {
    return [
      {
        id: '1',
        name: 'John Doe',
        type: 'user',
        icon: 'lucide:user',
        count: 5  // Count displayed on the right
      }
    ]
  },

  onItemClick: (item) => {
    return createNextColumn(item.id)
  }
})

2. Add to your app:

<template>
  <ExplorerContainer :root-column="usersColumn" />
</template>

<script setup>
import { ExplorerContainer } from 'vue-column-explorer'
import { usersColumn } from './columns/users'
import 'vue-column-explorer/dist/style.css'
</script>

That's it! 🎉

📖 Detailed Usage

For a detailed usage guide, see: USAGE.md

🎬 Demo

npm install
npm run dev

Open http://localhost:5173

Demo Features

✅ User search and age filtering ✅ Multi-level navigation (Users → Folders → Books → Files) ✅ Folder and file counts ✅ Multiple selection and bulk operations ✅ Send Mail and Download actions ✅ Breadcrumb navigation

📁 Example Project Structure

example/
├── columns/
│   ├── users.ts       # Users column
│   ├── folders.ts     # Folders column
│   ├── books.ts       # Books column
│   ├── notes.ts       # Notes column
│   └── bookFiles.ts   # Files column
├── mockData.ts        # Sample data
└── App.vue            # Main component

Each column file is independent and easy to understand!

🎯 createColumn API

createColumn({
  id: string                    // Unique ID
  name: string                  // Column title
  fetchData: (params) => Item[] // Data fetching function
  onItemClick?: (item) => Column | null  // Click handler
  allowMultipleSelection?: boolean       // Multiple selection
  singleActions?: Action[]               // Actions for single selection
  multipleActions?: Action[]             // Actions for multiple selection
  filters?: Filter[]                     // Filters
})

🎨 Item Structure

{
  id: 'unique-id',        // Required
  name: 'Name',           // Required
  type: 'user|folder|file', // Required
  icon: 'lucide:user',    // Optional
  metadata: { ... },      // Optional (subtitle)
  count: 5,               // Optional (count on right)
  hasChildren: true       // Optional (show chevron)
}

💡 Examples

Simple Column

export const usersColumn = createColumn({
  id: 'users',
  name: 'Users',
  fetchData: () => getUsers(),
  onItemClick: (item) => createFoldersColumn(item.id)
})

Column with Filters

export const usersColumn = createColumn({
  id: 'users',
  name: 'Users',

  fetchData: ({ filters }) => {
    let users = getUsers()
    if (filters.search) {
      users = users.filter(u => u.name.includes(filters.search))
    }
    return users
  },

  filters: [
    { key: 'search', label: 'Search', type: 'search' },
    { key: 'age', label: 'Age >', type: 'number' }
  ]
})

Column with Actions

export const filesColumn = createColumn({
  id: 'files',
  name: 'Files',
  fetchData: () => getFiles(),

  allowMultipleSelection: true,

  singleActions: [
    {
      key: 'view',
      label: 'View Details',
      icon: 'lucide:eye',
      handler: (ids) => viewDetails(ids[0])
    }
  ],

  multipleActions: [
    {
      key: 'mail',
      label: 'Send Mail',
      icon: 'lucide:mail',
      handler: (ids) => sendMail(ids)
    },
    {
      key: 'download',
      label: 'Download',
      icon: 'lucide:download',
      handler: (ids) => download(ids)
    }
  ]
})

📚 Documentation

🛠️ Development

# Install dependencies
npm install

# Dev server
npm run dev

# Type check
npm run type-check

# Build
npm run build

📦 Technologies

  • Vue 3 (Composition API)
  • TypeScript
  • Pinia (State management)
  • Vite
  • Lucide Icons

📄 License

MIT


Easy integration, powerful features! 🚀