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 🙏

© 2024 – Pkg Stats / Ryan Hefner

vue-about-me

v1.3.4

Published

A Vue component for displaying About Me Info.

Downloads

119

Readme

vue-about-me

npm npm npm npm bundle size (minified + gzip)

Demo

Display copyright and some links about me.

How To Use

Import

You just need import it, and write it where you need.

Example

// index.js
import Vue from 'vue'
import App from './App.vue'
// ...
<!-- component -->
<template>
  <div>
    <vue-about-me :copyright="copyright" :links="links"></vue-about-me>
  </div>
</template>

<script>

// use default name VueAboutMe
import VueAboutMe from 'vue-about-me'
import 'vue-about-me/style.css'

Icon

We use Iconify.

内置类型:自动生成对应图标

  • github
  • telegram
  • weibo
  • twitter
  • wechat
  • blog
  • bilibili
<!-- 仅当你需要额外图标时,添加它 -->
<!-- add this in your html -->
<script src="https://code.iconify.design/2/2.0.0/iconify.min.js"></script>

Then find icon name in https://icones.js.org.

Example

const copyright = {
  name: 'Vue About Me',
  repo: 'Vue-About-Me',
  author: 'YunYouJun',
  logo: 'ri:cloud-line',
  // or
  // logo: 'https://cn.vuejs.org/images/logo.png',
  link: 'https://yunyoujun.github.io/vue-about-me/',
  color: '#0078E7'
}

const links = [
  {
    // ...
    icon: 'ri:cloud-line'
    // ...
  }
]

Template

<vue-about-me :copyright="copyright" :links="links"></vue-about-me>

You can see example folder for more details.

Options

| Attribute | Description | Type | Options | Default | | --------- | ------------------------------------------- | ---------------- | ------- | ------- | | isDark | 暗色模式 (黑色图标在暗色模式下会变成白色) | Boolean (可选) | - | false | | copyright | 显示版权 | Object | —— | | links | 显示链接 | Array[Object] | —— |

copyright

| Attribute | Description | Type | Options | Default | | --------- | ---------------------- | ------ | ------------ | ---------------------------------------------- | | name | 名称 | string | Vue About Me | | repo | 项目仓库名称(GitHub) | string | —— | Vue-About-Me | | author | 作者 | string | —— | YunYouJun | | icon | 图标名称 | string | —— | cloudri:cloud-line (ref icones.js.org) | | link | 图标链接 | string | —— | # | | color | 图标颜色 | string | —— | #0078E7 |

links

| Name | Type | | ----- | ------ | | links | Array | | link | Object |

link

| Attribute | Description | Type | Options | Default | | --------------- | ------------------------ | ------ | ------------- | ----------- | | type | 类型(自动生成对应图标) | string | Icon | --- | | name | 名称 | | —— | | | color | 颜色 | | —— | | | backgroundColor | 背景颜色 | | —— | transparent | | icon | 图标名称 | | —— | | | label | 标签提示 | | —— | | | href | 链接 | | —— | |

Sponsors