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-auto-import-checker

v2.0.1

Published

Check if the used tags are all registered within your components.d.ts

Downloads

1,014

Readme

Vue auto-import checker

npm: vue-auto-import-checker

License npm version GitHub npm downloads NPM Unpacked Size

Description

Sometimes your vue-Repo is a mess, especially if you have a large (mono)repo, and you switch, mid-development to unplugin-vue-components (or similar auto-import setups). This CLI tool checks if every component tag used in your Vue templates is properly registered in components.d.ts.

You can configure which tag sets the checker should handle as if they were known, like Vuetify, VueUse, Quasar, Nuxt, Naive UI or PrimeVue (as it is described in the secion Known Frameworks). HTML, Vue, VueRouter, and SVG tags are known by default, but you can remove them from the known list if needed.

It is also possible to provide your own list of known tags by providing a custom-tags-file in JSON format or a simple list of tags (as it is described on command-options).

Why?

Why does this tool exist?

Because of migration from older codebases and toolsets to modern ones, especially in larger (mono)repos.

My experience as a developer showed me that the decision to use the top end toolset does come one day and then the migration is oftentimes not a recommendation from the customer, but from the developer team. That means the migration is not paid work. So it is not made as a priority. Using something like the unplugin for your vue project is recommended. But the migration is not always easy. You have to change your codebase, and you have to make sure that you do not forget any tags. This tool helps you with that. It checks your codebase for unknown tags and tells you where they are. So you can find and fix them.

Node

We recommend using:

  • Latest Node.js 24.x LTS (minimum required 20.19.1)

Other versions might work but are not tested.

Vue

The supported Vue files should use Single-File Components (also known as *.vue files, abbreviated as SFC). That means the tool is assuming to have files in your project path that are looking like this:

<script>
/* Typescript or Javascript content */
</script>

<template>
  <!-- HTML content -->
</template>

<style>
/* CSS content */
</style>

The tool also assumes to have at minimum the template section in your files.

Installation

Use the package as a globally installed CLI tool (for example for multiple projects).

 npm i vue-auto-import-checker -g

Use the package as a locally installed dev-dependency (for example in the ci/cd pipeline).

 npm i vue-auto-import-checker -D

Usage

To use the package without installation.

 npx vue-auto-import-checker <options>

Use the implemented help to display all the options:

 npx vue-auto-import-checker -h

It is possible to use a config-file with all your command-options.

Lookup the command-options.

But you can also start with an example from our cookbook.

Known Frameworks

Currently, we support:

  • Vuetify >= 3.8.4
  • VueUse >= 13.6.0
  • Quasar >= 1.16.0
  • Nuxt >= 4.2.1
  • Naive UI >= 2.43.2
  • PrimeVue >= 4.5.3

Other versions might work but are not tested.

If you want to use a framework version that is not yet supported, you can use the importer tools to provide your own list of tags.

We are working on more.

CI/CD Integration

This tool is CI-friendly

  • If unknown tags are detected, the CLI will exit with a non-zero status code (if the --output-format text is configured)
  • If no unknown tags are found, it will exit successfully with code 0.

This allows you to easily break builds when auto-imports are missing.

Security

Look into the file security in the docs folder.

Importers

Use a tag list from the specific version that your project is using by using a specific importer.

Every importer has its own explanation file so you can look up your specific use case.

Contributors

Thanks for the contribution of code, ideas and motivation to:

GitHub Profile GitHub Profile GitHub Profile

Thanks to Matthias for the idea.

Spezial thanks to my family, to my wife Jiyeop and to my son Ryan.

Feedback & Contributions

If this tool helps you out, consider leaving a star on the repository — it really motivates further development!

Found a bug? Something not working as expected?
Please open an issue so it can be fixed quickly.

Missing a feature you’d love to see?
Feature requests are very welcome as well!

Thanks for helping make Vue Auto-Import Checker better for everyone! 🙌