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

@vite-asset-manager/nuxt

v1.0.6

Published

Nuxt module for vite-plugin-asset-manager

Readme

@vite-asset-manager/nuxt

Official Nuxt module for vite-plugin-asset-manager — a visual asset management dashboard that discovers, catalogs, and displays all your project's media assets.

Features

  • Zero-config — works out of the box with sensible Nuxt defaults
  • Automatic floating icon — injected into your app, no manual setup needed
  • Nuxt DevTools integration — browse assets directly from the DevTools panel
  • Nuxt 3 & 4 support — handles both directory structures automatically
  • Dev-only — zero production footprint, completely inactive outside development
  • Real-time updates — file changes reflected instantly via SSE
  • Thumbnail generation — Sharp-powered thumbnails with caching
  • Import tracking — see which files import each asset with click-to-open-in-editor
  • Duplicate detection — find duplicate files by content hash

Installation

npm install @vite-asset-manager/nuxt -D
# or
pnpm add @vite-asset-manager/nuxt -D
# or
yarn add @vite-asset-manager/nuxt -D

Setup

Add the module to your nuxt.config.ts:

export default defineNuxtConfig({
  modules: ['@vite-asset-manager/nuxt'],
})

That's it! Start your dev server and:

  • Press Option+Shift+A to toggle the floating panel
  • Click the floating icon button (drag to reposition)
  • Visit /__asset_manager__/ directly in your browser
  • Open the Asset Manager tab in Nuxt DevTools

Configuration

All options are optional:

export default defineNuxtConfig({
  modules: ['@vite-asset-manager/nuxt'],
  assetManager: {
    // Dashboard URL path
    base: '/__asset_manager__',

    // Directories to scan (relative to project root)
    // Default: ['app', 'public'] for Nuxt 4, ['.'] for Nuxt 3
    include: ['app', 'public'],

    // Directories to exclude
    exclude: ['node_modules', '.git', '.nuxt', '.output', 'dist'],

    // Show floating icon overlay
    floatingIcon: true,

    // Enable real-time file watching
    watch: true,

    // Editor for click-to-open: 'code', 'cursor', 'webstorm', 'vim', etc.
    launchEditor: 'code',

    // Path aliases for import detection
    aliases: { '@/': 'app/', '~/': 'app/' },

    // Add Asset Manager tab to Nuxt DevTools
    devtools: true,

    // Enable debug logging
    debug: false,
  },
})

Nuxt 3 vs Nuxt 4

The module automatically detects your Nuxt version and adjusts defaults:

| Setting | Nuxt 3 | Nuxt 4 | |---------|--------|--------| | include | ['.'] | ['app', 'public'] | | aliases | { '@/': '', '~/': '' } | { '@/': 'app/', '~/': 'app/' } |

Requirements

  • Nuxt >= 3.0.0
  • Node.js >= 22

Related

License

MIT