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

hzqing-vue-timeline

v1.0.3

Published

A Vue.js project

Readme

hzqing-vue-timeline

A Vue component to hzqing-vue-timeline 一个Vue的时间插件

example (图片展示)

屏幕宽度大于1200px

HZQING

屏幕宽度小于1200px

HZQING

安装

npm install -S hzqing-vue-timeline

如何引入

main.js:

// 全局注册
import hzqingVueTimeline from 'hzqing-vue-timeline'
Vue.use(hzqingVueTimeline)

 <hzqing-vue-timeline></hzqing-vue-timeline>

配置

引入组件

   <hzqing-vue-timeline 
   timelineColor="#5bbcd5"  
   timeContentColor="#fff"
   :dataList="data"
   ></hzqing-vue-timeline>

组件数据

    data: [
        {
            time: 1522372393000,
            img: 'static/touxiang.jpeg',
            title: 'hzqing.com',
            content: '这是衡钊清的个人博客'
        },
        {
            time: '2018-03-30 14:36:35',
            img: 'static/one.jpeg',
            title: '这是一个简单的vue时间轴插件',
            content: '这是一个简单的vue时间轴插件,使用非常的方便'
        },
        {
            time: 1522372393000,
            img: 'static/three.jpg',
            title: '努力奋斗',
            content: '当你发现你的才华撑不起野心时,就请安静下来学习吧~~~'
        }
    ]

Props

| name | Description | type |default| | ----------------- | ---------------- | :--------: | :----------: | | dataList | 数据 | Array | | timelineColor | 时间轴插件整个背景颜色 |String| #5bbcd5 | timeContentColor | 文字内容背景颜色 |String | #f2f2f2

Props(dataList)格式

| name | Description | type | | ----------------- | ---------------- | :--------: | | time | 时间 | Date | | img | 中间图片 |String| | title | 标题 |String | | content | 内容 |String |

update(更新内容)

  • 2018-05-16 发布1.0.3 版本 引入vue-avatar插件,管理中间图片展示
  • 2018-03-30 发布1.0.2 版本 修改time数据格式为Date
  • 2018-03-29 发布1.0.1 版本
  • 2018-03-27 发布1.0.0 版本 第一次发布