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

v3-guide

v0.0.9

Published

fix: 每个方向转换

Readme

示例图片

示例图片

基础用法

<template>
  <V3Guide v-model="visible" :steps="steps" ref="tour">
    <!-- 自定义头部(可以不需要) -->
    <template #header>
      头部
    </template>

     <!-- 自定义底部(可以不需要) -->
    <template #footer>
      底部
    </template>
  </V3Guide>
</template>

<script setup>
import { ref } from 'vue';
import { V3Guide } from 'v3-guide'

const tour = ref()
const visible = ref(false)
const steps = ref([
    {
      el: '第一步的dom元素',
      vnode: '第一步的内容  传入.vue组件即可',
    },
    {
      el: '第二步的dom元素',
      vnode: '第二步的内容  传入.vue组件即可',
    },
                        .
                        .
                        .
    {
      el: '第 n 步的dom元素',
      vnode: '第 n 步的内容  传入.vue组件即可',
    }
])
</script>

v3-guide

| 属性| 说明 | 类型 | 默认值 | | --- | --- | --- | --- | | steps | 包含dom的步骤数据 | array | [ ] | | offset | 偏移量 | number | 10 | | title | 标题 | string | - | | padding | 窗口内边距 | number | 6 | | block | 出现在可视区域的位置 | string | center | | whiteScreenDuration | 等待scrollIntoview完毕的时间, 如出现白屏可适当增大此值 | number | 80(ms) | | placemant | 引导卡片相对于目标元素的位置 | top | topLeft | topRight | bottom | bottomLeft | bottomRight | left | leftTop | leftBottom | right | rightTop | rightBottom | top |

v3-guide events (ref实例)

guideRef.value.instance.{ next, prev, close, currentIndex }

| 属性| 说明 | 类型 | 默认值 | | --- | --- | --- | --- | | instance | ref实例上的方法及属性入口 | object | { next, prev, close, currentIndex } |