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/language-service

v3.2.6

Published

<p> <a href="https://www.npmjs.com/package/@vue/language-service"><img src="https://img.shields.io/npm/v/@vue/language-service.svg?labelColor=18181B&color=1584FC" alt="NPM version"></a> <a href="https://github.com/vuejs/language-tools/blob/master/LICE

Readme

@vue/language-service

A collection of Vue language service plugins, providing the core implementation for IDE features. This package integrates various language services such as TypeScript, CSS, HTML, Pug, and Emmet, and adds Vue-specific feature plugins.

Installation

npm install @vue/language-service

Usage

import { createVueLanguageServicePlugins } from '@vue/language-service';
import * as ts from 'typescript';

// Create Vue language service plugins
// The optional second argument `client` is used for communication with @vue/typescript-plugin
const plugins = createVueLanguageServicePlugins(ts);

Built-in Plugins

General Language Services

| Plugin | Source | Description | | :--- | :--- | :--- | | JSON | volar-service-json | JSON language service | | Pug Format | volar-service-pug-beautify | Pug formatting | | Emmet | volar-service-emmet | Emmet abbreviation expansion | | TypeScript Syntactic | volar-service-typescript | TypeScript syntactic features | | TypeScript Doc Comment | volar-service-typescript | JSDoc comment templates |

Vue-specific Plugins

| Plugin | Description | | :--- | :--- | | vue-sfc | SFC structure support, including folding, symbols, document links | | vue-template | Template language service, supporting HTML and Pug | | vue-format-per-block | Formatting per block | | vue-compiler-dom-errors | Vue compiler error diagnostics | | vue-directive-comments | Directive comment support (<!-- @vue-skip -->, etc.) | | vue-component-semantic-tokens | Component semantic tokens | | vue-inlayhints | Inlay hints (destructured props, inline handlers, etc.) | | vue-missing-props-hints | Hints for missing required props | | vue-autoinsert-dotvalue | Auto-insertion of .value for ref variables | | vue-autoinsert-space | Auto-insertion of spaces in template interpolations | | vue-scoped-class-links | Scoped CSS class name links | | vue-template-ref-links | Template ref links | | vue-extract-file | Extract component refactoring | | vue-document-drop | Auto-generation of import on file drop | | vue-document-highlights | Document highlights | | vue-suggest-define-assignment | Assignment suggestions for defineProps, etc. | | vue-twoslash-queries | Twoslash query support (// ^?) | | css | CSS language service, supporting v-bind and CSS Modules | | typescript-semantic-tokens | TypeScript semantic tokens |

Usage with @volar/kit

To use the language service in a Node.js environment (e.g., for linting or testing):

import { createLanguage, createVueLanguagePlugin } from '@vue/language-core';
import { createLanguageService, createVueLanguageServicePlugins } from '@vue/language-service';
import ts from 'typescript';

const language = createLanguage([
  createVueLanguagePlugin(ts, compilerOptions, vueCompilerOptions, asFileName),
]);

const service = createLanguageService(
  language,
  createVueLanguageServicePlugins(ts),
  env,
);

Related Packages

License

MIT License