unjs

📁 hairyf/skills 📅 13 days ago
332
总安装量
332
周安装量
#816
全站排名
安装命令
npx skills add https://github.com/hairyf/skills --skill unjs

Agent 安装分布

claude-code 326
cursor 325
codex 12
gemini-cli 12
github-copilot 10

Skill 文档

UnJS (Unified JavaScript) is an ecosystem of high-quality, single-purpose JavaScript libraries and tools designed to work together and independently across any environment. These skills cover the core packages and their practical usage patterns for building universal JavaScript applications.

The skill is based on UnJS website, generated at 2026-01-31.

Core References

HTTP & Server

Topic Description Reference
H3 Framework Minimal HTTP framework for high performance and portability core-h3
Nitro Server Universal web server framework that runs anywhere core-nitro
Listhen Elegant HTTP listener for Node.js and edge environments core-listhen

Utilities

Topic Description Reference
Defu Recursive default property assignment core-defu
Destr Fast and secure JSON.parse alternative core-destr
Ohash Fast hashing library based on murmurhash3 core-ohash
Pathe Cross-platform path utilities (Node.js path replacement) core-pathe
UFO URL utilities for parsing, formatting, and manipulation core-ufo
Scule String case conversion utilities (camelCase, kebab-case, etc.) core-scule

Build Tools

Topic Description Reference
Unbuild Unified JavaScript build system core-unbuild
Mkdist Generate distribution files from source core-mkdist
Unplugin Unified plugin system for Vite, Rollup, webpack, esbuild, and more core-unplugin

Features

Storage & Data

Topic Description Reference
Unstorage Async key-value storage API with multiple drivers features-unstorage

Environment & Runtime

Topic Description Reference
Unenv Convert JavaScript code to be runtime agnostic features-unenv
Std-env Standard environment variables utilities features-std-env

HTTP Client

Topic Description Reference
Ofetch Better fetch API for Node.js, browser, and workers features-ofetch

Routing

Topic Description Reference
Radix3 Lightweight and fast router based on Radix Tree features-radix3

CLI & Tools

Topic Description Reference
Citty Elegant CLI builder with type-safe commands features-citty
Giget Download templates and git repositories features-giget

Hooks & Context

Topic Description Reference
Hookable Awaitable hooks system for plugins and extensions features-hookable
Unctx Composables pattern in vanilla JavaScript features-unctx

Crypto & Security

Topic Description Reference
Uncrypto Universal crypto API for Node.js, browser, and edge features-uncrypto

Module System

Topic Description Reference
Mlly ECMAScript module utilities for Node.js features-mlly
Unimport Auto-import APIs in modules features-unimport

Type System

Topic Description Reference
Untyped Generate types and markdown from config objects features-untyped

Logging & Console

Topic Description Reference
Consola Elegant console wrapper with multiple reporters features-consola

Documentation & Markdown

Topic Description Reference
Automd Automated markdown maintainer features-automd
Changelogen Generate beautiful changelogs using conventional commits features-changelogen
Mdbox Simple markdown utilities features-mdbox
Undocs Minimal documentation theme and CLI for UnJS projects features-undocs

Configuration

Topic Description Reference
C12 Smart configuration loader features-c12
Confbox Compact and high quality YAML, TOML, JSONC and JSON5 parsers features-confbox
Rc9 Read/write config couldn’t be easier features-rc9

HTTP & WebSocket

Topic Description Reference
Httpxy Full-featured HTTP and WebSocket proxy for Node.js features-httpxy
Crossws Cross-platform WebSocket servers for Node.js, Deno, Bun and Cloudflare Workers features-crossws
Cookie-es ESM cookie serializer and deserializer features-cookie-es

Image Processing

Topic Description Reference
IPX High performance, secure and easy to use image proxy based on Sharp and libvips features-ipx
Image-meta Detect image type and size using pure JavaScript features-image-meta
Jimp-compact Lightweight version of Jimp – image processing library features-jimp-compact
Fontaine Automatic font fallback based on font metrics features-fontaine

Code Generation & AST

Topic Description Reference
Magicast Programmatically modify JavaScript and TypeScript source codes features-magicast
Magic-regexp A compiled-away, type-safe, readable RegExp alternative features-magic-regexp
Knitwork-X Utilities to generate safe JavaScript code (actively maintained fork) features-knitwork
Jiti Runtime TypeScript and ESM support for Node.js features-jiti

Database & Storage

Topic Description Reference
Db0 Lightweight SQL connector features-db0
Mongoz Zero config MongoDB server features-mongoz

Utilities

Topic Description Reference
Fs-memo Easy persisted memo object for Node.js features-fs-memo
Get-port-please Get an available open port features-get-port-please
Perfect-debounce Debounce promise-returning and async functions features-perfect-debounce
Serve-placeholder Smart placeholder for missing assets features-serve-placeholder
Theme-colors Easily generate color shades for themes features-theme-colors

Package Management

Topic Description Reference
Nypm Unified package manager for Node.js features-nypm
Pkg-types Node.js utilities and TypeScript definitions for package.json and tsconfig.json features-pkg-types
Bundle-runner Run webpack bundles in Node.js with optional VM sandboxing features-bundle-runner

Web APIs

Topic Description Reference
Unhead Universal document head tag manager features-unhead
Ungh Unlimited access to GitHub API features-ungh
Unpdf Utilities to work with PDFs in Node.js, browser and workers features-unpdf
Unwasm WebAssembly tools for JavaScript features-unwasm
Uqr Generate QR Code universally, in any runtime, to ANSI, Unicode or SVG features-uqr
Untun Tunnel your local HTTP(s) server to the world powered by Cloudflare Quick Tunnels features-untun
Node-fetch-native A better redistribution of node-fetch features-node-fetch-native

Build Tools (Additional)

Topic Description Reference
Webpackbar Elegant progress bar and profiler for webpack 3, 4 and 5 features-webpackbar
Nanotar Tiny and fast Tar utils for any JavaScript runtime features-nanotar