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

icon-commit

v1.1.2

Published

解决每次从 Typora 复制要使用的个性化 commit 语句,通过脚本输出语句可供选择,或者添加对应后缀来完成commit语句输出。🕹

Downloads

11

Readme

🤓 为什么开发这个 cli

因为在我个人的项目中我自己有着自己特色的 commit 因为我喜欢携带 emoji 的提交。而在原 git angular 的提交之上我又自己增加了一些场景的 commit 。

而之前我是完全使用 Typora 来保存这些携带 emoji 的提交方法来复制粘贴使用并且我每次离开了我自己的电脑在公司或者回家之后编写自己的代码提交的时候我往往需要凭记忆去写我自己特色的 commit ,这个就是当前 cli 诞生的必要性。

🪐 怎么使用这个 cli

直接安装已经上传到 npm 的 cli,并且安装到全局。

npm install icon-commit -g

🎯 当前可操作的命令

# 查看全部内置的 commit 命令
icc all

# 在准备要写 git commit 的时候调用。例子如下:
icc r fix "解决当前的主页面 bug"

# 直接一整个提交流程,他是 git add . -> git commit -m 'type: message' -> git push。例如如下:
icc p fix "解决当前的主页面 bug"

👨🏻‍💻 如何克隆代码自己调试?

先克隆本仓库的代码到本地,并且已经安装了 git、node、npm 等工具

git clone https://github.com/PlayGuitar-CoderQ/icon-commit.git
# 进入项目
cd icon-commit

# 启动项目 (这里推荐使用 pnpm 包管理工具)
pnpm dev

🪬 在需要使用脚本功能的地方,执行如下。(pnpm start 当成 icc,后面就是上面描述的执行命令)

# 例子1
pnpm start --help
# 例子2
pnpm start all

🫥 疑问解答:

  1. 为什么 commit history 里面有一些叫修复 coding 扫描的提交?
  • 答:因为当前项目在作者这里是多仓库存放的,有使用到 coding 作为其中的代码仓库,并且开启了 coding 的代码扫描能力,这些修复就是解决扫描出来的代码格式等其他类型的问题。结尾的编号为(年+月+日+时+分+)。例如 202209242021。