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

h-gantt

v1.0.2

Published

A simple Gantt chart plug-in

Downloads

28

Readme

快速开始

安装

Vue项目可用,使用插件需要提前安装Vue.js

npm i h-gantt

引用

页面引用

在当前页面写入

import hGantt from 'h-gantt' Vue.use(hGantt)//需引入Vue

components: { hGantt },

全局引用

在main.js中写入

import hGantt from 'h-gantt' Vue.use(hGantt)

HTML

数据格式

title:'任务标题',

quantity:10, //甘特图展示数据分段数

list:[{ title:'测试功能一', //单条数据标题 start:'2020-01-03',//数据起始时间 length:5 //持续时长(天) }

文档

介绍

项目中需要一个查看进度的图表,看了一些现有的甘特图,大多功能都比较复杂,样式有些陈旧,数据格式比较繁琐。所以做了一个比较简单的甘特图查看功能,如果有什么需求大家可以提出,后续会酌情更新。

文档地址

暂无

| 参数 | 说明 | 类型 | 默认值 | | ---- | ---- | ---- | ---- | | title | 甘特图表的标题 | string | '' | | quantity | 区间个数 | number | 10 | | list | 图表数据 | array | [] | | list->title | 数据标题 | string | -- | | list->start | 数据开始时间 | string(yyyy-mm-dd)或其它时间格式 | -- | | list->length | 数据持续时长(天) | number | -- |