·js-micro-utilities
</>

js-micro-utilities

matthewharwood/fantasy-phonics

使用本机 API 和 just-* 微包的零依赖 JavaScript 实用程序。在操作对象、数组、字符串、数字或函数时使用。首先扫描表以查找本机解决方案(反引号),仅在需要时回退到 just-* 包。优先选择本机而不是依赖项。

3安装·0热度·@matthewharwood

安装

$npx skills add https://github.com/matthewharwood/fantasy-phonics --skill js-micro-utilities

SKILL.md

Zero-dependency utilities for common JavaScript operations. Prefer native APIs (in backticks) over packages. Install just- packages only when native solutions don't exist.

| Deep diff two objects/arrays | just-diff | | Apply JSON-patch to object | just-diff-apply | | Deep equality check | just-compare | | Deep clone | structuredClone(obj) | | Extract property from array | arr.map(x => x.prop) | | Remove nullish from array | arr.filter(x => x != null) |

| Deep merge | just-extend | | Shallow merge | {...a, ...b} or Object.assign(target, src) |

使用本机 API 和 just-* 微包的零依赖 JavaScript 实用程序。在操作对象、数组、字符串、数字或函数时使用。首先扫描表以查找本机解决方案(反引号),仅在需要时回退到 just-* 包。优先选择本机而不是依赖项。 来源:matthewharwood/fantasy-phonics。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/matthewharwood/fantasy-phonics --skill js-micro-utilities
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 js-micro-utilities?

使用本机 API 和 just-* 微包的零依赖 JavaScript 实用程序。在操作对象、数组、字符串、数字或函数时使用。首先扫描表以查找本机解决方案(反引号),仅在需要时回退到 just-* 包。优先选择本机而不是依赖项。 来源:matthewharwood/fantasy-phonics。

如何安装 js-micro-utilities?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/matthewharwood/fantasy-phonics --skill js-micro-utilities 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/matthewharwood/fantasy-phonics