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

@wang1212/itools

v0.1.5

Published

common toolbox.

Readme

itools

LICENSE NPM VERSION DOWNLOAD LAST COMMIT GITHUB PACKAGE CI Commitizen friendly Codacy Badge

English | 简体中文

:package: 通用的工具箱。

这个包现在是纯 ESM,查看这里

工具

inpm-utils

该工具会在全局安装一些有用的 npm 包。

iproxy

这个工具会提供开启、关闭、配置 git/npm 代理的操作

本质上,它做的是类似这样的事情:

git config --global http.proxy <proxy>
npm config --global set proxy <proxy>

注意: 这不会自动设置环境变量 http_proxyHTTP_PROXYhttps_proxyHTTPS_PROXY

用法

  • 不安装直接使用,运行:

    npx @wang1212/itools
  • 或者,在全局安装:

    npm install --global @wang1212/itools
    
    // 运行命令使用工具
    itools

注意: 在本地全局安装后,除过命令 itools 之外,还对每个工具提供一个命令,如 iproxy。换句话说,可以直接运行 iproxy 命令而不是先运行 itools 再选择 iproxy 工具。

开发准则

Git 提交信息格式

采用社区提交格式最佳实践

# 以前
git commit

# 现在
npm run commit

这种约束依赖于社区提供的工具 commitizencommitlint

npm 发布

该模块的版本管理采用社区推荐的规范语义化版本控制。跟随版本变动会维护一个变更日志(CHANGELOG.md)了解为什么这么做)。

# 在发布到 npm 存储库之前更新版本并生成更改日志
npm run release # npm run release -- --first-release
# 或者,进行预览
npm run release -- --dry-run

# 然后发布
npm publish # npm publish --access public

这些工作是在社区提供的 standard-version 工具的帮助下完成的。

灵感

创造该工具箱的灵感来源于 wsl2proxy/nrm 程序,在使用了它们之后,我就在想是否可以将日常需要手工完成的繁琐事情编写为程序化的小工具以方便使用和提高效率。

许可

MIT.