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

@zixinit/vue-terminal

v0.1.1

Published

A Vue 3 terminal and code display component with formatting, copy support, and syntax highlighting.

Readme

@zixinit/vue-terminal

Vue 3 terminal and code display component for admin consoles, deployment logs, command output, configuration previews, and structured JSON/code blocks.

This GitHub repository only contains the public npm package page and demo images. Source code and release workflow are maintained internally; business projects should consume the package from npm.

Install

pnpm add @zixinit/vue-terminal

Import the package style once in your app entry:

import "@zixinit/vue-terminal/style.css";

Features

  • Command, args, cwd, and meta display.
  • Copy button, copy feedback, empty state, and custom toolbar slot.
  • Line numbers, fill-height mode, and optional auto-scroll for streamed output.
  • Built-in formatting for nginx and JSON content.
  • Syntax highlighting for common config, shell, web, SQL, diff, markdown, and log languages.
  • JSON and code block folding.
  • Terminal-style editable text area with v-model:content, Tab indentation, and undo/redo.
  • Framework-neutral UI with no Element Plus dependency.

Demo

Nginx configuration formatting and folding

Nginx configuration formatting and folding

JSON formatting and folding

JSON formatting and folding

Usage

<template>
  <VueTerminal
    title="nginx.conf"
    language="nginx"
    format-code
    collapsible
    :content="content"
  />
</template>

<script setup lang="ts">
import VueTerminal from "@zixinit/vue-terminal";

const content = `
server {
listen 80;
server_name example.com;
location /api {
proxy_pass http://127.0.0.1:9100;
}
}
`;
</script>

Global registration is also available:

import { createApp } from "vue";
import { VueTerminalPlugin } from "@zixinit/vue-terminal";
import "@zixinit/vue-terminal/style.css";

createApp(App).use(VueTerminalPlugin).mount("#app");

Editable Content

Set editable to edit the original content while retaining the terminal appearance. Bind the value with v-model:content; the editor supports Tab indentation and native undo/redo shortcuts.

<template>
  <VueTerminal
    v-model:content="config"
    editable
    fill
    language="nginx"
    title="nginx.conf"
  />
</template>

For indentation-sensitive formats such as YAML or Python, use spaces instead of the default tab character:

<VueTerminal v-model:content="config" editable editor-tab-text="  " />

Streamed Output

The package only renders external content. It does not wrap SSE, WebSocket, or polling logic. Keep connection code in the business application and update the string passed to content.

<template>
  <VueTerminal language="log" auto-scroll :content="output" />
</template>

<script setup lang="ts">
import { ref } from "vue";

const output = ref("");

function appendOutput(message: string) {
  if (output.value && !output.value.endsWith("\n")) output.value += "\n";
  output.value += message.endsWith("\n") ? message : `${message}\n`;
}
</script>

npm

Package name:

@zixinit/vue-terminal

Install the latest stable release:

pnpm add @zixinit/vue-terminal@latest