---
id: ssh2-unjs
name: "unjs"
url: https://skills.yangsir.net/skill/ssh2-unjs
author: hairyf
domain: ai-backend-engineering
tags: ["unjs-ecosystem", "javascript-utilities", "node.js-development", "backend-tooling", "module-development"]
install_count: 466
rating: 4.20 (94 reviews)
github: https://github.com/hairyf/skills
---

# unjs

> 专注于UnJS生态系统，提供与框架无关的JavaScript库和工具，助力构建灵活、可复用的后端服务。

**Stats**: 466 installs · 4.2/5 (94 reviews)

## Before / After 对比

### UnJS生态系统集成，提升开发效率

## Readme

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](references/core-h3.md) |
| Nitro Server | Universal web server framework that runs anywhere | [core-nitro](references/core-nitro.md) |
| Listhen | Elegant HTTP listener for Node.js and edge environments | [core-listhen](references/core-listhen.md) |

### Utilities

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

### Build Tools

| Topic | Description | Reference |
|-------|-------------|-----------|
| Unbuild | Unified JavaScript build system | [core-unbuild](references/core-unbuild.md) |
| Mkdist | Generate distribution files from source | [core-mkdist](references/core-mkdist.md) |
| Unplugin | Unified plugin system for Vite, Rollup, webpack, esbuild, and more | [core-unplugin](references/core-unplugin.md) |

## Features

### Storage & Data

| Topic | Description | Reference |
|-------|-------------|-----------|
| Unstorage | Async key-value storage API with multiple drivers | [features-unstorage](references/features-unstorage.md) |

### Environment & Runtime

| Topic | Description | Reference |
|-------|-------------|-----------|
| Unenv | Convert JavaScript code to be runtime agnostic | [features-unenv](references/features-unenv.md) |
| Std-env | Standard environment variables utilities | [features-std-env](references/features-std-env.md) |

### HTTP Client

| Topic | Description | Reference |
|-------|-------------|-----------|
| Ofetch | Better fetch API for Node.js, browser, and workers | [features-ofetch](references/features-ofetch.md) |

### Routing

| Topic | Description | Reference |
|-------|-------------|-----------|
| Radix3 | Lightweight and fast router based on Radix Tree | [features-radix3](references/features-radix3.md) |

### CLI & Tools

| Topic | Description | Reference |
|-------|-------------|-----------|
| Citty | Elegant CLI builder with type-safe commands | [features-citty](references/features-citty.md) |
| Giget | Download templates and git repositories | [features-giget](references/features-giget.md) |

### Hooks & Context

| Topic | Description | Reference |
|-------|-------------|-----------|
| Hookable | Awaitable hooks system for plugins and extensions | [features-hookable](references/features-hookable.md) |
| Unctx | Composables pattern in vanilla JavaScript | [features-unctx](references/features-unctx.md) |

### Crypto & Security

| Topic | Description | Reference |
|-------|-------------|-----------|
| Uncrypto | Universal crypto API for Node.js, browser, and edge | [features-uncrypto](references/features-uncrypto.md) |

### Module System

| Topic | Description | Reference |
|-------|-------------|-----------|
| Mlly | ECMAScript module utilities for Node.js | [features-mlly](references/features-mlly.md) |
| Unimport | Auto-import APIs in modules | [features-unimport](references/features-unimport.md) |

### Type System

| Topic | Description | Reference |
|-------|-------------|-----------|
| Untyped | Generate types and markdown from config objects | [features-untyped](references/features-untyped.md) |

### Logging & Console

| Topic | Description | Reference |
|-------|-------------|-----------|
| Consola | Elegant console wrapper with multiple reporters | [features-consola](references/features-consola.md) |

### Documentation & Markdown

| Topic | Description | Reference |
|-------|-------------|-----------|
| Automd | Automated markdown maintainer | [features-automd](references/features-automd.md) |
| Changelogen | Generate beautiful changelogs using conventional commits | [features-changelogen](references/features-changelogen.md) |
| Mdbox | Simple markdown utilities | [features-mdbox](references/features-mdbox.md) |
| Undocs | Minimal documentation theme and CLI for UnJS projects | [features-undocs](references/features-undocs.md) |

### Configuration

| Topic | Description | Reference |
|-------|-------------|-----------|
| C12 | Smart configuration loader | [features-c12](references/features-c12.md) |
| Confbox | Compact and high quality YAML, TOML, JSONC and JSON5 parsers | [features-confbox](references/features-confbox.md) |
| Rc9 | Read/write config couldn't be easier | [features-rc9](references/features-rc9.md) |

### HTTP & WebSocket

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

### Image Processing

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

### Code Generation & AST

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

### Database & Storage

| Topic | Description | Reference |
|-------|-------------|-----------|
| Db0 | Lightweight SQL connector | [features-db0](references/features-db0.md) |
| Mongoz | Zero config MongoDB server | [features-mongoz](references/features-mongoz.md) |

### Utilities

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

### Package Management

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

### Web APIs

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

### Build Tools (Additional)

| Topic | Description | Reference |
|-------|-------------|-----------|
| Webpackbar | Elegant progress bar and profiler for webpack 3, 4 and 5 | [features-webpackbar](references/features-webpackbar.md) |
| Nanotar | Tiny and fast Tar utils for any JavaScript runtime | [features-nanotar](references/features-nanotar.md) |


---
*Source: https://skills.yangsir.net/skill/ssh2-unjs*
*Markdown mirror: https://skills.yangsir.net/api/skill/ssh2-unjs/markdown*