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

@xuanzai/happy-work

v6.8.0

Published

Happy Work Every Day

Downloads

59

Readme

alfred 工作流

  • 安装并导入:
npm i @xuanzai/happy-work -g

yarn global add @xuanzai/happy-work

这里建议使用 node 16 以上进行安装。如果还未装 node,请直接安装nvm,再安装 node 即可~

  • 出现下图红框所示则表示工作流安装成功!

已有功能

提效类功能

  1. 指定目录打开终端

关键词:terminal + 目录名

  1. 在此处打开终端

关键词:terminal here

快捷键:Option + T

取最顶层访答窗口打开终端,如果没有则默认在桌面打开终端

  1. 创建文件或文件夹

关键词:cf + 文件或文件夹

取最顶层访答窗口打开终端,如果没有则默认在桌面创建文件

  1. 指定目录打开 vscode

关键词:vscode + 目录名

  1. 在此处打开 vscode

关键词:code

快捷键:Option + C

取最顶层访答窗口打开终端,如果没有则默认将desktop作为目录打开

  1. 永久删除文件

关键词:delete + 文件 / 目录名

效果为:rm -rf,请谨慎使用

  1. 杀掉进程【已废弃】

关键词:kill + 进程名

效果为 kill -15 xxx || kill -9 xxxx

请使用第三方工作流,体验更佳:https://github.com/ngreenstein/alfred-process-killer

  1. 复制文件路径

关键词:filepath + 文件 / 目录名

  1. 复制当前目录路径

关键词:dirpath here

快捷键:Option + P

取最顶层访答窗口复制路径

  1. 浏览器历史记录

关键词:history + 历史记录关键词

  1. 浏览器历史连接

关键词:url + 链接

  1. 重命名目录下的所有文件

关键词:rename + 目录名

执行此命令后,将会在该目录下生成一个rename_dir目录,里面存放所有被重命名的文件

  1. 一键打开浏览器隐私模式

快捷键:Option + I

仅兼容chromeEdge

  1. 一键打开浏览器阅读模式

快捷键:Option + R

仅支持Edge

  1. 编码

关键词:

  • md5 + 字符串
  • base64 + 字符串
  • encode + 字符串
  • decode + 字符串
  1. 时间

关键词:time + (YYYY-MM-dd) / 时间戳

默认展示当天

  1. 字节转换

关键词:byte + 数字

  1. 百度百科

关键词:bk / 百科 + 关键词

  1. 将下载窗口索引至第一个 finder 窗口

热键:ctrl + d

  1. 在访答中打开路径输入框

热键:ctrl + f

  1. 查询 browser api 兼容性

关键词:caniuse + 关键词

  1. 查询 gitlab 项目

关键词:project + 关键词

  1. 查询 merge_request 条目

关键词:project + 关键词

  1. 一键唤起飞书全局搜索

热键:command + control + k

  1. 一键唤起 edge 浏览器

热键:command + control + e

  1. 查询 linux 命令文档

关键词:lc + 关键词

  1. 新增 jenkins job 查询

关键词:dev + 关键词

关键词:prod + 关键词

休闲类功能

  1. 基金查询

关键词:jj + 基金代号 / 基金名称

  1. 天气查询

关键词:wd / tq + 城市名

  1. 热搜榜单

关键词:rs / 热搜

提供知乎、百度、央视热搜榜单

  1. 每日番剧

关键词:每日番剧 / mrfj

提供 B 站与 dilidili 源番剧信息

  1. bilibili 视频解析

关键词:bt + bilibili 视频链接

  1. 疫情查询

关键词:yq / 疫情 + 关键词

  1. 每日 bing 图

关键词:bing

  1. 微信读书查询

关键词:weread + 书名

  1. 汇率计算

关键词:price + 币种

默认展示全部汇率

  1. 万年历

关键词:calendar + 日期

默认展示今天

  1. 美女图

关键词:mv / 美女

  1. 二次元

关键词:ecy / 二次元

  1. 垃圾分类

关键词:垃圾分类 + 物品名称

  1. 食物卡路里

关键词:food + 食物名称

  1. 渣男语录

关键词:zn + 关键词筛选

  1. 微博搜索

关键词:wb + 关键词筛选

主题

【白昼主题】 https://www.alfredapp.com/extras/theme/E2Il27hRTn/

【暗黑主题】 https://www.alfredapp.com/extras/theme/hbdfskPOgc/

友情推荐

【有道云翻译】 https://github.com/wensonsmith/YoudaoTranslator

【杀死进程】 https://github.com/nathangreenstein/alfred-process-killer