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

wjh-tool

v1.0.12

Published

工具包

Downloads

10

Readme

简介

提供了图片压缩、简化git操作、简化npm操作,ast使用,sass编译

安装

npm i wjh-tool -g

图片压缩

命令 ic 命令参数 |字段名 |描述 |类型 |是否必填 |默认值 | |---------|---------|---------|---------|---------| |path |文件路径 |string |否 |当前路径 |

简化git操作

命令 gs 命令参数 |字段名 |描述 |类型 |是否必填 |默认值 | |---------|---------|---------|---------|---------| |vr |查看远端仓库地址 | |否 | | |ar |连接远端仓库地址,值为仓库地址 |string |是 | | |rr |移除远端仓库地址,值为仓库地址 | |否 | | |ur |更新远端仓库地址,值为仓库地址 |string |是 | | |ac |添加并提交,值为备注信息 |string |是 | | |pull |拉取远端分支代码,值为远端分支 |string |是 | | |push |本地代码上传到远端分支,值为远端分支 |string |是 | | |stas |保留当前工作区间,值为备注信息 |string |是 | | |pop |弹出最后一次保留当前工作区间 | |否 | | |vb |查看本地分支 | |否 | | |ab |创建分支,值为分支名 |string |是 | | |sb |切换分支,值为分支名 |string |是 | | |chec |创建并切换分支,值为分支名 |string |是 | | |db |删除分支,值为分支名 |string |是 | | |sn |设置git用户名,值为名称 |string |是 | | |se |设置git邮箱,值为邮箱 |string |是 | | |vc |查看git config配置 | |否 | | |ss |查询某个字符串的变动历史提交,值为搜索值 |string |是 | | |sf |查询指定文件的变动历史提交,值为文件路径 |string |是 | |

简化npm

命令 ns 命令参数 |字段名 |描述 |类型 |是否必填 |默认值 | |---------|---------|---------|---------|---------| |usd |卸载开发依赖包,值为包名 |string |是 | | |us |卸载依赖包,值为包名 |string |是 | | |isd |安装开发依赖包,值为包名 |string |是 | | |is |安装依赖包,值为包名 |string |是 | | |vp |查看依赖包最新版本,值为包名 |string |是 | | |lp |本地依赖包版本,值为包名 |string |是 | | |vgp |查看全局依赖包 | |否 | |

ast使用

命令 ast 命令参数 |字段名 |描述 |类型 |是否必填 |默认值 | |---------|---------|---------|---------|---------| |dc |console批量删除 | |否 |当前路径 | |path |文件路径 |string |是 | |

sass编译

命令 sc 命令参数 |字段名 |描述 |类型 |是否必填 |默认值 | |---------|---------|---------|---------|---------| |suffix |编译的文件后缀,值为后缀名 |string |否 |.css |