·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