360 Secure SkillHub
360 安全技能中心

Node

提供 Node.js 事件循环、模块系统、npm 工作流、流、调试、性能与生产就绪清单等主题的命令式快速参考;按子命令输出文本说明,供排查运行时问题或优化服务时查阅。

分类:知识
bytesagain
bytesagain
热度 0.00
最近更新 2026-03-21 23:26:50

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add bytesagain/node
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
node
version
1.0.0
description
Node.js runtime reference — event loop, modules, npm workflows, streams, cluster, debugging. Use when managing Node.js projects, troubleshooting runtime issues, or optimizing server performance.
author
BytesAgain
homepage
https://bytesagain.com
source
https://github.com/bytesagain/ai-skills
tags
["node","nodejs","npm","javascript","runtime","event-loop","streams","devtools"]
category
devtools

Node — Node.js Runtime Reference

Quick-reference skill for Node.js runtime internals, npm workflows, and server-side JavaScript.

When to Use

  • Understanding the Node.js event loop and async model
  • Managing npm packages and resolving dependency issues
  • Working with streams, buffers, and file system APIs
  • Debugging Node.js applications and memory leaks
  • Scaling Node.js with cluster and worker threads

Commands

intro

scripts/script.sh intro

Overview of Node.js — architecture, V8, libuv, use cases.

eventloop

scripts/script.sh eventloop

Event loop phases — timers, I/O, check, close, microtasks, nextTick.

modules

scripts/script.sh modules

Module systems — CommonJS vs ESM, resolution algorithm, package.json fields.

npm

scripts/script.sh npm

npm workflows — install, audit, scripts, lockfile, publishing, workspaces.

streams

scripts/script.sh streams

Streams API — readable, writable, transform, pipeline, backpressure.

debugging

scripts/script.sh debugging

Debugging — inspect, Chrome DevTools, heap snapshots, CPU profiling.

performance

scripts/script.sh performance

Performance — cluster, worker threads, memory management, benchmarking.

checklist

scripts/script.sh checklist

Node.js production readiness checklist.

help

scripts/script.sh help

version

scripts/script.sh version

Configuration

Variable Description
NODE_DIR Data directory (default: ~/.node/)

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com