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 🙏

© 2025 – Pkg Stats / Ryan Hefner

cssv

v1.1.8

Published

add file version

Readme

CSSV:给html文件里的链接添加版本号

Install:

安装:npm install cssv -g

Usage:

1、打开要添加版本号的项目目录 2、打开当前目录下的控制台,输入cssv -a回车即可给当前目录下的所有html文件里的css链接添加版本号 3、输入cssv -r则可以移除所有css链接的版本号

还有其他命令: cssv -a 不带其他命令默认只添加css的版本号 cssv -a -c|-i|-j 添加css或image或js链接的版本号 cssv -a -A 三个文件都添加版本号

"../../css/ohh.css" ====> ../../css/ohh.css?v=2f701
"../../css/abc.css" ====> ../../css/abc.css?v=4ab85
"../../css/hahah/abc.css" ====> ../../css/hahah/abc.css?v=cdf83

cssv -a -C 深层次更改版本号,前面添加版本号是?v=XXX,添加-C命令后,则直接修改文件名。 例:

"../../css/ohh.css" ====> ../../css/ohh_42ce52f701.css
"../../css/abc.css" ====> ../../css/abc_42ce54ab85.css
"../../css/hahah/abc.css" ====> ../../css/hahah/abc_e132d3d52d.css